Skip to content

A script to grab signature data from a WhiteHouse.gov petition, store entries in a database, and send out a tweet as new folks sign.

Notifications You must be signed in to change notification settings

JackLaBarba/Whitehouse-Signature-Tweeter

 
 

Repository files navigation

Just a first trial.

##Instructions##

  1. Go to https://dev.twitter.com to make an app. Be sure to generate your oauth token after you change your app's permissions to read & write

  2. fill in details in config.py.bp and rename to config.py

  3. initialize the database

    $ ./dbstart.py
    
  4. Then run signature_tweeter.py to see it in action

    $ ./signature_tweeter.py
    
  5. Check out the resulting database by:

    $ sqlite3 signatures.db
    

Pretty nifty!

##Checkout:##

About

A script to grab signature data from a WhiteHouse.gov petition, store entries in a database, and send out a tweet as new folks sign.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%