[go: up one dir, main page]

Skip to content

A GitHub traffic scraper to keep you on top of your repository traffic stats.

Notifications You must be signed in to change notification settings

tejasa97/github_traffic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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=<personal_access_token>
  1. 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 <user_name>.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!

About

A GitHub traffic scraper to keep you on top of your repository traffic stats.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages