opsb
opsb

Reputation: 30211

Private email addresses for private collaborators using github api

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

Answers (2)

Jonoabroad
Jonoabroad

Reputation: 449

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

Upvotes: 2

catsby
catsby

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

Related Questions