【问题标题】:How to retrieve the list of all github public repositories of a user in android如何在android中检索用户的所有github公共存储库的列表
【发布时间】:2017-05-02 03:12:15
【问题描述】:

我是 REST API 概念的新手。虽然我搜索了很多,但无法找到列出任何用户的 github 的所有公共存储库的方法。有什么想法吗?

【问题讨论】:

    标签: android github github-api


    【解决方案1】:

    使用Github API,您可以列出所有存储库并检查private 键是否为false

    此 URL 例如查找 username 的存储库:

    https://api.github.com/users/username/repos

    【讨论】:

      【解决方案2】:

      你可以使用我在 GitHub 上的 repo,我使用 Github API 获取用户名信息和 repose 。 希望对某人有所帮助

      https://github.com/Sanaebadi97/Github-Api-Single-User

      【讨论】:

        猜你喜欢
        • 2020-12-13
        • 2013-09-13
        • 2020-10-10
        • 2012-02-01
        • 2013-12-11
        • 2019-12-31
        • 1970-01-01
        • 2020-03-27
        • 2017-03-28
        相关资源
        最近更新 更多