wj-Mcat / github-emails

📫 A tool to get email addresses by action types such as `starred`, `watching` or `fork` on GitHub repositories

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

github-emails PyPI Version auto-publish-to-pypi

Quick start

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'

History

v0.0.2 (Jun 19, 2020)

  • works with token, and everything works well for me

v0.0.1 (Jun 19, 2020)

  • works with username/password & token authentication

Copyright & License

  • Code & Docs © 2020 wj-Mcat https://github.com/wj-Mcat
  • Code released under the Apache-2.0 License
  • Docs released under Creative Commons

About

📫 A tool to get email addresses by action types such as `starred`, `watching` or `fork` on GitHub repositories

License:Apache License 2.0


Languages

Language:Python 90.3%Language:Makefile 9.7%