Rank

获取公仓周榜。Get weekly public repo ranking.

获取公开仓库的每周排行榜。 Get the weekly ranking of public repositories. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-basic-info:r

get/ranks/repo/weekly

Request

  • Base URL: https://api.cnb.cool (the document declares no server; this is the origin it was published from)
  • URL: https://api.cnb.cool/ranks/repo/weekly
  • Auth: API key in header Authorization

Query parameters

languagestring

语言。Programming language.

flags'KnowledgeBase' | 'NPC' | 'Skills'

仓库类型。Repository type.

startstring

周榜周一日期,格式为20060102,不填默认为本周. Weekly ranking Monday date, format 20060102, defaults to current week.

topNinteger

排行前n名。Top N in ranking.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.