This example uses the 'rauth' module to work with the SocialFlow API. It is documented here: https://rauth.readthedocs.org/en/latest/
The session referred to by 'OAuth1Session' is documented here: http://docs.python-requests.org/en/latest/user/advanced/#session-objects
To add query parameters to the calls, see: http://docs.python-requests.org/en/latest/user/quickstart/#passing-parameters-in-urls
The web based flow uses Flask.
Samuel Kaufman
CTO, SocialFlow, Inc.