Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wj-mcat/github-emails
📫 A tool to get email addresses by action types such as `starred`, `watching` or `fork` on GitHub repositories
https://github.com/wj-mcat/github-emails
Last synced: 10 days ago
JSON representation
📫 A tool to get email addresses by action types such as `starred`, `watching` or `fork` on GitHub repositories
- Host: GitHub
- URL: https://github.com/wj-mcat/github-emails
- Owner: wj-Mcat
- License: apache-2.0
- Created: 2020-12-07T03:40:12.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-26T05:25:44.000Z (almost 4 years ago)
- Last Synced: 2024-10-10T09:21:31.032Z (26 days ago)
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# github-emails [![PyPI Version](https://img.shields.io/pypi/v/github-emails?color=blue)](https://pypi.org/project/github-emails/) ![auto-publish-to-pypi](https://github.com/wj-Mcat/github-emails/workflows/auto-publish-to-pypi/badge.svg)
## 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
```shell script
pip install github-emails
```- Simple Code
```python
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
```shell script
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
- Code released under the Apache-2.0 License
- Docs released under Creative Commons