Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 565 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 565 Bytes

Tweet Your Rep

If you live in IL, enter your address and find your State representatives and tweet at them.

git clone git@github.com:open-city/tweet-your-rep.git
pip install -r requirements.txt
python app.py

Then navigate to http://localhost:9999/api/?address=[your address here]

Example:

http://localhost:9999/api/?address=123%20Main%20St.%20Suite%20100%20Chicago,%20IL

Result:

{

    "result": [
        {
            "tag": "",
            "value": ""
        }
    ],
    "input-address": "123 Main St. Suite 100 Chicago, IL"
}