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.
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
completenessChecker.py
config.py.bp
db_migration_1.py
dbstart.py
geocode.py
parser.py
signature_tweeter.py
tweeter.py
twitter_test.py
update_locations.py

README.md

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:##