Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Singly python API

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 singly
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
Octocat-spinner-32 UNLICENSE.md
Octocat-spinner-32 setup.py
README.md

Simple python client to Singly API

See https://singly.com/

Getting started

You must first create a Singly app at https://singly.com/apps

Enter the client ID and client secret you are given in a file named secrets.py (by modifying secrets.py.template)

If you are just testing, you can now run from a command line python singly.py. An error is expected. Copy and paste the authenticate callback URL into your browser, and authenticate twitter. Copy and paste the URL you are redirected to (something like http://localhost:9999/?code=YMfFfovaCwlDKw-fNzcMVL) as MY_CODE_URI in your secrets.py. Run python singly.py again and you should see raw json data returned in the terminal.

For this library to work in production, you must set up MY_AUTHENTICATE_CALLBACK to redirect to the authenticate callback URL, and then you must listen for a response at your local callback URL (by default http://localhost:9999, set in the Singly object's initializer) and return the URL w/ code from within MY_AUTHENTICATE_CALLBACK.

If you need help please chat with us at http://support.singly.com or email support@singly.com

License: See UNLICENSE.md

Something went wrong with that request. Please try again.