【发布时间】:2019-09-30 05:30:09
【问题描述】:
由于我的标题不变,如何从公共 API 中仅获取有限数量的存储库?我正在使用以下链接:
https://api.github.com/repositories //Gets 100
首先获得 100 个存储库,但我只需要获得 15 个。这是我尝试过的:
https://api.github.com/repositories?per_page=15 //Gets 100
似乎添加per_page=10 根本不起作用。我也试过:
https://api.github.com/repositories?since=369&per_page=15
没有任何运气。谁能帮我解决这个问题?
【问题讨论】:
标签: git github github-api