/GTA

Github Trending API

Primary LanguagePythonMIT LicenseMIT

GTA

Github Trending API

Note

The endpoint is at: https://github-trending.onrender.com

Repositories

/repositories
[
  {
    "description": "Python code to parse a Twitter archive and output in various ways",
    "forks": "25",
    "language": "Python",
    "name": "timhutton/twitter-archive-parser",
    "stars": "630"
  },
  {...}, // total 25 repositories
]
/repositories?count=3
[
  {
    "description": "Python code to parse a Twitter archive and output in various ways",
    "forks": "25",
    "language": "Python",
    "name": "timhutton/twitter-archive-parser",
    "stars": "630"
  },
  {...}, // total 3 repositories
]

Random

/random
{
  "description": "Python code to parse a Twitter archive and output in various ways",
  "forks": "25",
  "language": "Python",
  "name": "timhutton/twitter-archive-parser",
  "stars": "630"
}
/random?count=3
[
  {
    "description": "Python code to parse a Twitter archive and output in various ways",
    "forks": "25",
    "language": "Python",
    "name": "timhutton/twitter-archive-parser",
    "stars": "630"
  },
  {...}, // total 3 random repositories
]

Usage

Docker

docker build -t gta .
docker run -p 5000:5000 gta:latest

Todo

  • Host somewhere
  • developers endpoint
  • language endpoint
  • date endpoint