GitHub Trending API is a self-hosted Rust microservice that converts GitHub trending repositories & developers HTML pages to JSON RPC like API.
-
There are no plans to provide cloud version of the service.
-
It provides as minimal information as possible. For example, we intentionally didn't added stars count to repositories list, because this data may be fetched directly from the GitHub REST/GraphQL APIs.
POST /v1/listTrendingRepository
{
"params": {
"language": "rust"
}
}
Response:
{
"error": null,
"result": {
"code": "SUCCESS",
"list": [
{
"full_name": "rust-lang/rust",
"rank": 1
},
{
"full_name": "antonkomarev/github-trending-api",
"rank": 2
}
]
}
}
POST /v1/listTrendingDeveloper
{
"params": {
"language": "rust"
}
}
Response:
{
"error": null,
"result": {
"code": "SUCCESS",
"list": [
{
"username": "ClementTsang",
"rank": 1
},
{
"username": "antonkomarev",
"rank": 2
}
]
}
}
GitHub Trending API
project is open-sourced software licensed under the MIT license by Anton Komarev.
CyberCog is a Social Unity of enthusiasts. Research the best solutions in product & software development is our passion.