I want to use the github api to get a list of private email addresses for collaborators on a project.
I've tried using
curl -u username:password http://github.com/api/v2/yaml/user/show/username
but I can only access public email addresses. Is it possible to access the开发者_JS百科 private email addresses?
Based on the version 3 of the API pass scope=user:emai
l will give you the private email address.
I don't believe Github has a concept of "private email addresses". Under each user account admin, you can list your email, but it's clearly listed as "publicly visible". There is no private email option
精彩评论