Github API 接口

2020-02-26  本文已影响0人  已不再更新_转移到qiita

curl -u name:secret https://api.github.com/user/repos

https://api.github.com/users/matz matz的用户信息,包含粉丝数

https://api.github.com/users/matz/keys matz的 ssh key

https://api.github.com/users/matz/gpg_keys matz的gpg

https://api.github.com/users/matz/followers?page=2 matz的粉丝

https://api.github.com/users/matz/following?page=2 matz关注谁

https://api.github.com/orgs/bitcoin bitcoin项目的信息

https://api.github.com/orgs/bitcoin/repos bitcoin项目的repos

https://api.github.com/repos/bitcoin/bitcoin

https://api.github.com/repos/bitcoin/bitcoin/contributors bitcoin的贡献者


参考:

https://developer.github.com/v3/

https://segmentfault.com/a/1190000015144126

https://juejin.im/entry/5ad85a095188252e977985ae

https://blog.crowdbotics.com/how-to-connect-a-github-api-with-a-nodejs-server/

上一篇 下一篇

猜你喜欢

热点阅读