对认证用户的提取issue的方法,但如何取得未经认证的用户的issue(直接查询不可以吗?
可以,但是如果你没有他的OAuth话,只能查询他在那些public repo中提出的issue,而不能查询private repo中的issue.
List all issues across owned and member repositories for the authenticated user:
GET /user/issues
拿这个Libary来说
https://github.com/ajaxorg/node-githu...
var GitHubApi = require("github");
var github = new GitHubApi({
version: "3.0.0"
});
github.issues.getAll({
user: "meteormatt"
}, function(err, res) {
console.log(JSON.stringify(res));
});