Skip to content

TeamHG-Memex/quickpin-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuickPin API

Python wrapper for the QuickPin API.

Includes a simple command line client.

Example:

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

  1. QUICKPIN_URL
  2. QUICKPIN_TOKEN

Example:

$ export QUICKPIN_URL="https://example.com"
$ export QUICKPIN_TOKEN="1|2015-12-09T16:50:59.057635.Y5pm9qB_naw6FkOekcksiFRyMlY"

Tests

$ pip install nose
$ nosetests --nocapture

Note: --nocapture is required to allow user input.

About

Python wrapper for the QuickPin API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages