本文简要介绍了 GitHub 的 API。
官方文档:https://developer.github.com/v3/
验证方式
https://developer.github.com/v3/#authentication
curl -u "username" https://api.github.comURL 参数
url?access_token=OAUTH-TOKENHeader 方式
Authorization: token OAUTH-TOKENURL?client_id=xxxx&client_secret=yyyy(S2S only)