How to retrieve the list of all GitHub repositories of a person?

后端 未结 15 1257
一个人的身影
一个人的身影 2020-12-02 05:43

We are working on a project where we need to display all the projects of a person in his repository on GitHub account.

Can anyone suggest, how can I display the na

15条回答
  •  臣服心动
    2020-12-02 06:09

    If you have jq installed, you can use the following command to list all public repos of a user

    curl -s https://api.github.com/users//repos | jq '.[]|.html_url'
    

提交回复
热议问题