{"id":16462207,"url":"https://github.com/wangningkai/github-trending","last_synced_at":"2026-04-17T04:31:05.004Z","repository":{"id":103100784,"uuid":"286675995","full_name":"WangNingkai/github-trending","owner":"WangNingkai","description":":octocat: GitHub Trending API power by Python Sanic.","archived":false,"fork":false,"pushed_at":"2020-08-12T07:55:16.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-27T09:14:09.077Z","etag":null,"topics":["github","github-api","python","sanic-framework"],"latest_commit_sha":null,"homepage":"https://github-trending.vercel.app","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WangNingkai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-11T07:28:41.000Z","updated_at":"2020-08-13T00:33:57.000Z","dependencies_parsed_at":"2023-07-25T14:45:47.020Z","dependency_job_id":null,"html_url":"https://github.com/WangNingkai/github-trending","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WangNingkai/github-trending","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WangNingkai%2Fgithub-trending","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WangNingkai%2Fgithub-trending/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WangNingkai%2Fgithub-trending/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WangNingkai%2Fgithub-trending/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WangNingkai","download_url":"https://codeload.github.com/WangNingkai/github-trending/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WangNingkai%2Fgithub-trending/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31915047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github","github-api","python","sanic-framework"],"created_at":"2024-10-11T11:10:41.819Z","updated_at":"2026-04-17T04:31:04.985Z","avatar_url":"https://github.com/WangNingkai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## GitHub Trending\n\n![github.png](https://cdn.jsdelivr.net/gh/wangningkai/wangningkai/assets/20200811152212.png)\n\n\u003e This project is a GitHub trending API power by Sanic.\n\u003e It was deployed on Vercel.\n\n***\n\n### Get Started\n\n#### Get the trending repository\n\nrequest address like this:\n\u003e /repo\n\n+ If the language contains '#',you must use '-shuo' to replace it.\n\n##### Parameters\n\n| Name  | Type   | Description                                                               |\n| ----- | ------ | ------------------------------------------------------------------------- |\n| lang  | string | optional, get method parameter, the language of trending repository       |\n| since | string | optional，get method parameter，default is daily,others is weekly,monthly |\n\nFor example request this address:\nhttps://github-trending.vercel.app/repo?lang=java\u0026since=weekly\n\nreturn:\n```\n//status code: 201\n{\n  \"count\": 25,\n  \"msg\": \"suc\",\n  //trending repositories\n  \"items\": [\n    {\n      //the avatar link of contributors\n      \"avatars\": [\n        \"https://avatars0.githubusercontent.com/u/16903644?v=3\u0026s=40\",\n        \"https://avatars2.githubusercontent.com/u/8622362?v=3\u0026s=40\",\n        \"https://avatars0.githubusercontent.com/u/10773353?v=3\u0026s=40\",\n        \"https://avatars3.githubusercontent.com/u/6392550?v=3\u0026s=40\",\n        \"https://avatars1.githubusercontent.com/u/3837836?v=3\u0026s=40\"\n      ],\n      //repository link\n      \"repo_link\": \"https://github.com/kdn251/interviews\",\n      //repository desctiption\n      \"desc\": \"Everything you need to know to get the job.\",\n      //repository name\n      \"repo\": \"kdn251/interviews\",\n      //the repository stars count\n      \"stars\": \"5,772\",\n       //the repository forks count\n      \"forks\": \"539\",\n      //the language of repository\n      \"lang\": \"Java\",\n      //the repository stars count for tody or this week or this month\n      \"added_stars\": \"4,591 stars this week\"\n    },\n    .\n    .\n    .\n  ]\n}\n```\n\n#### Get the trending developers\n\nrequest address like this:\n\u003e /developer\n\n+ If the language contains '#',you must use '-shuo' to replace it.\n\n##### Parameters\n\n| Name  | Type   | Description                                                                     |\n| ----- | ------ | ------------------------------------------------------------------------------- |\n| lang  | string | optional, get method parameter, maybe it is the major language of the developer |\n| since | string | optional，get method parameter，default is daily,others is weekly,monthly       |\n\nFor example request this address:\nhttps://github-trending.vercel.app/developer?lang=java\u0026since=weekly\n\nreturn：\n```\n//status code: 201\n{\n  \"count\": 25,\n  \"msg\": \"suc\",\n  //the trending developers\n  \"items\": [\n    {\n      //the username in GitHub of this developer\n      \"user\": \"google\",\n      //the main page in GitHub of this developer\n      \"user_link\": \"https://github.com/google\",\n      //the full name of this developer\n      \"full_name\": \"(Google)\",\n      //the avatar url of the developer\n      \"developer_avatar\": \"https://avatars1.githubusercontent.com/u/1342004?v=3\u0026s=96\"\n    },\n]\n}\n```\n\n### Exception\n\nIf the server does not get the resources,the response will be that:\n\n```\n//status code: 404\n{\n  \"msg\": \"Unavailable.\",\n  \"count\":0,\n  \"items\": []\n}\n```\n\n### Maintenance\n\nIf some of the interface can not be used,please contact me with email:`i@ningkai.wang`,I will modify the problem as soon as possible,thank you!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangningkai%2Fgithub-trending","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwangningkai%2Fgithub-trending","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangningkai%2Fgithub-trending/lists"}