Metadata-Version: 2.1
Name: github-emails
Version: 0.0.6
Summary: 📫 A tool to get email addresses by action types such as `starred`, `watching` or `fork` on GitHub repositories
Home-page: https://github.com/wj-Mcat/github-emails
Author: wj-Mcat
Author-email: wjmcater@gmail.com
License: Apache-2.0
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: wechaty-puppet
Requires-Dist: betterproto
Requires-Dist: chatie-grpc

# 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 <https://github.com/wj-Mcat>
- Code released under the Apache-2.0 License
- Docs released under Creative Commons


