https://github.com/tejasa97/github_traffic
A GitHub traffic scraper to keep you on top of your repository traffic stats.
https://github.com/tejasa97/github_traffic
github-traffic python repository traffic-stats
Last synced: 12 months ago
JSON representation
A GitHub traffic scraper to keep you on top of your repository traffic stats.
- Host: GitHub
- URL: https://github.com/tejasa97/github_traffic
- Owner: tejasa97
- Created: 2019-06-07T17:48:32.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-01T09:44:06.000Z (over 6 years ago)
- Last Synced: 2025-04-15T02:52:33.530Z (12 months ago)
- Topics: github-traffic, python, repository, traffic-stats
- Language: Python
- Size: 12.7 KB
- Stars: 12
- Watchers: 0
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitHub Traffic
Like to to keep tabs on your GitHub account **traffic** statistics?
Fret no more.
Presenting, a GitHub traffic scraper to keep you on top of your repository traffic stats.
## A couple of pre-requisites before you kick off.
1. ***GitHub Personal Access token***! (because identity).
Just generate a new token (can set it up for only **repo read** permissions); you can also use an existing one.
Assign it to ***token*** in the **config.ini** file.
```
[github]
token=
```
2. ***Install the official python GitHub package (pyGithub) and pandas***.
`pip install -r requirements.txt`
### Fire it up!
`python get_traffic.py`
The traffic stats of all repositories associated with the user are stored in the CSV `.csv`.
PS : Open to your suggestions and enhancements. Plan to make it a cron job that regularly updates you of the current traffic!
Please Star the repo if you found it interesting!