【问题标题】:How to fetch user github repository by just enter user id in android如何通过在 android 中输入用户 id 来获取用户 github 存储库
【发布时间】:2017-04-28 02:49:47
【问题描述】:

我想在 android 中获取用户的 github 存储库。在我的应用程序中,我只是让用户输入一个 github 用户 ID 并显示他的存储库。 github 是否为此提供任何 API。我如何做到这一点?

【问题讨论】:

    标签: android github github-api


    【解决方案1】:

    您可以查看GtiHub API List Repositories:

    GET /users/:username/repos
    

    您可以使用gitskarios/GithubAndroidSdk(标记为已弃用,but it actually is just not maintained,但仍然足够新)
    其他Java libraries do exist though.

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-05-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-01-20
      相关资源
      最近更新 更多