Python wrapper for the QuickPin API.
Includes a simple command line client.
$ quickpin submit_names usernames.csv twitter --interval=5
or
$ quickpin --token=token submit_names names.csv twitter --interval=5
or
$ quickpin --username=username --password=password submit_names names.csv twitter --interval=5
This will parse the usernames contained (1 per line) in the usernames.csv file and submit them 1 by one at an interval of 5 seconds.
For more information:
$ quickpin --help
$ quickpin submit_names --help
$ quickpin submit_ids --help
Set environment variables to avoid being prompted each time:
- QUICKPIN_URL
- QUICKPIN_TOKEN
Example:
$ export QUICKPIN_URL="https://example.com"
$ export QUICKPIN_TOKEN="1|2015-12-09T16:50:59.057635.Y5pm9qB_naw6FkOekcksiFRyMlY"
$ pip install nose
$ nosetests --nocapture
Note: --nocapture is required to allow user input.