Access our repository data and resources through our RESTful API. Build amazing applications with our developer tools.
All available endpoints with their parameters and responses
Returns the complete list of repositories in JSON format
{
"status": "success",
"data": [
{
"id": 1,
"name": "KamurJ.Core",
"description": "Core framework for .NET applications",
"url": "https://github.com/codehub-am/KamurJ.Core"
},
...
]
}
Returns development stories and changelogs in JSON format
{
"status": "success",
"data": [
{
"id": 1,
"title": "Version 2.0 Release",
"date": "2023-11-15",
"content": "Complete rebranding to CodeHub.am"
},
...
]
}
How to authenticate with our API
Currently no authentication required for public endpoints. Future versions may implement API keys for advanced features.
All API requests must be made over HTTPS. HTTP requests will be redirected.
60 requests per minute per IP address. Exceeding this limit will result in temporary restrictions.
How to use our API in different languages
fetch('https://codehub.am/api/v1?repositories')
.then(response => response.json())
.then(data => {
console.log('Repositories:', data);
})
.catch(error => {
console.error('Error:', error);
});
$response = file_get_contents('https://codehub.am/api/v1?repositories');
$data = json_decode($response, true);
if ($data) {
echo "Repositories:";
print_r($data);
} else {
echo "Error fetching data";
}
import requests
response = requests.get('https://codehub.am/api/v1?repositories')
data = response.json()
print("Repositories:", data)
curl -X GET "https://codehub.am/api/v1?repositories" \ -H "Accept: application/json"
Start integrating with our API today and unlock the power of CodeHub.am
Explore API