Reputation: 30211
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 private email addresses?
Upvotes: 0
Views: 1317
Reputation: 449
Based on the version 3 of the API pass scope=user:emai
l will give you the private email address.
Upvotes: 2
Reputation: 11342
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
Upvotes: 0