获取某个库的star用户,并存储起来,经过GitHub 的开发者API能够分析出该用户的潜在价值。python
某些专一于推广的企业获取会使用到这个库git
GitHub Repo:github-emailsgithub
欢迎你们点击进行关注,你们的鼓励是我前进最大的动力。shell
the example below:
wechaty
is the owner,python-wechaty
is the name of repo
github: https://www.github.com/wechaty/python-wechaty工具
pip install github-emails
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.学习
github-emails --owner=wechaty --repo=python-wechaty --token=your-token
这个小工具是我在实际学习工做当中使用到的,很是欢迎你们来使用和吐槽该工具。ui