Skip to content

LucBerge/github_email_collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Email Collector

Collect the email address of users affiliated to a given repository

Installation

From PyPi

pip install github-email-collector

As a submodule

git submodule add https://github.com/LucBerge/github_email_collector.git
git submodule update --init

Usage

From your python script

from github_email_collector import EmailCollector

email_collector = EmailCollector("MY_GITHUB_TOKEN", "owner/repo")
emails = email_collector.get_emails()
print(emails)

Example

Run the example to list the emails of users affiliated to this repository

echo "MY_GITHUB_TOKEN=your_github_token" > .env
pip install -r requirements.txt
python example.py

Releases

No releases published

Contributors

Languages