Developer Documentation
Build Amazing Things with Gitsink
Complete API documentation, code examples, and developer resources to help you integrate Gitsink into your projects and showcase your work everywhere.
Core API Endpoints
Explore our comprehensive API endpoints designed to give you complete control over your project data.
API Reference
Complete list of available endpoints with descriptions and usage examples
| Method | Endpoint | Description | Type |
|---|---|---|---|
GET | /v1/projects | Fetch all your projects with metadata | REST |
GET | /v1/projects/{id} | Get detailed information about a specific project | REST |
GET | /v1/user/profile | Retrieve your GitHub profile information | REST |
POST | /v1/graphql | Execute GraphQL queries for complex data fetching | GraphQL |
GET | /v1/repositories | List all connected repositories | REST |
POST | /v1/sync | Trigger manual synchronization with GitHub | REST |
Quick Start Guide
Get up and running with Gitsink in just a few minutes. Follow these simple steps to start showcasing your projects.
1
Get Your API Key
Sign up and generate your unique API key from the dashboard
// Your API key will look like this:
const API_KEY = 'sk_live_1234567890abcdef';2
Make Your First Request
Fetch your projects using a simple HTTP request
fetch('https://api.gitsink.tech/v1/projects', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
})
.then(response => response.json())
.then(data => console.log(data));3
Display Your Projects
Use the response data to showcase your work
// Example response structure
{
"projects": [
{
"id": "awesome-project",
"name": "Awesome Project",
"description": "A revolutionary web application",
"technologies": ["React", "Node.js", "PostgreSQL"],
"demo_url": "https://awesome-project.com",
"github_url": "https://github.com/user/awesome-project",
"stars": 142,
"forks": 23
}
]
}API Examples
Explore code examples in different programming languages and frameworks.
Code Examples
Ready-to-use code snippets for popular languages and frameworks
// Using fetch API
const response = await fetch('https://api.gitsink.tech/v1/projects', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
});
const projects = await response.json();
console.log(projects);
// Using axios
import axios from 'axios';
const { data } = await axios.get('https://api.gitsink.tech/v1/projects', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
});Developer Resources
Everything you need to build amazing integrations with Gitsink.
API Documentation
Complete reference for all endpoints and parameters
Interactive Playground
Test API calls and explore responses in real-time
Authentication Guide
Learn how to securely authenticate your API requests
Ready to Start Building?
Get your API key and start showcasing your projects in minutes.