Skip to content

GitHub Trending API is a self-hosted Rust microservice that converts GitHub trending repositories & developers HTML pages to JSON RPC like API.

License

Notifications You must be signed in to change notification settings

antonkomarev/github-trending-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Trending API

Introduction

GitHub Trending API is a self-hosted Rust microservice that converts GitHub trending repositories & developers HTML pages to JSON RPC like API.

Project scope

  1. There are no plans to provide cloud version of the service.

  2. 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.

Usage

Get trending repository list

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
      }
    ]
  }
}

Get trending developer list

POST /v1/listTrendingDeveloper

{
  "params": {
    "language": "rust"
  }
}

Response:

{
  "error": null,
  "result": {
    "code": "SUCCESS",
    "list": [
      {
        "username": "ClementTsang",
        "rank": 1
      },
      {
        "username": "antonkomarev",
        "rank": 2
      }
    ]
  }
}

License

About CyberCog

CyberCog is a Social Unity of enthusiasts. Research the best solutions in product & software development is our passion.

CyberCog

About

GitHub Trending API is a self-hosted Rust microservice that converts GitHub trending repositories & developers HTML pages to JSON RPC like API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published