Skip to content

🍲 Use Tornado + BeautifulSoup to scrape daily, weekly, and monthly GitHub contribution statistics from a user's GitHub profile page. Deployable on Heroku + Dokku!

Notifications You must be signed in to change notification settings

droxey/api-contrib-tornado

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

api-contrib-tornado

Using Tornado + BeautifulSoup to scrape daily, weekly, and monthly GitHub contribution statistics from a user's GitHub profile page.

Deployable on Heroku and Dokku!

Test URLs

Installation

  1. git clone git@github.com:outputs-io/api-contrib-tornado
  2. cd api-contrib-tornado
  3. pipenv install
  4. pipenv shell
  5. python app.py

Deployment via Heroku

  1. heroku login
  2. heroku create my-app-name --stack=cedar
  3. heroku addons:create mongolab
  4. heroku config:add TZ="UTC"
  5. git add . && git commit -m "[deploy] Pushing to Heroku."
  6. git push heroku master
  7. heroku ps:scale web=1

Deployment via Dokku

  1. On your remote Dokku host, run dokku apps:create contrib-api.
  2. In your local repo, run git remote add dokku ssh://dokku@YOUR_DOKKU_URL/contrib-api to add the new remote.
  3. Deploy by running git push dokku master.

Special Thanks

contributions.py based upon a solution by Chris Yunbin Chang for his GitHub Contributions API project.

About

🍲 Use Tornado + BeautifulSoup to scrape daily, weekly, and monthly GitHub contribution statistics from a user's GitHub profile page. Deployable on Heroku + Dokku!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published