Question

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?

Was it helpful?

Solution

Based on the version 3 of the API pass scope=user:email will give you the private email address.

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top