the example below:
wechaty
is the owner,python-wechaty
is the name of repo github: https://www.github.com/wechaty/python-wechaty
- Installation
pip install github-emails
- Simple Code
from github_emails import GithubApi
github = GithubApi(token='')
stargazers = github.stargazers('wechaty', 'python-wechaty')
for stargazer in stargazers:
github.emails(stargazer)
And you will find that your final email info is stored in .github_info/user-email.txt
file.
- Command
github-emails --owner=wechaty --repo=python-wechaty --token=your-token --stargazer-file='.github_info/wechaty-python-wechaty-' --skip-user-emails-file='./user-emails.txt'
- works with token, and everything works well for me
- works with username/password & token authentication
- Code & Docs © 2020 wj-Mcat https://github.com/wj-Mcat
- Code released under the Apache-2.0 License
- Docs released under Creative Commons