TripIt API v1 Python language binding.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE.md Added LICENSE.md and updated copyright Sep 29, 2018
README
example.py
get_authorized_token.py
get_request_token.py
make_post_request.py
tripit.py
tripitsh
tripitsh.py

README

TripIt API Bindings - Python
============================

[API Documentation http://tripit.github.com/api/] (http://tripit.github.com/api/)

Example
=======

    import tripit

    consumer_key = '5dbf348aa966c5f7f07e8ce2ba5e7a3badc234bc'
    consumer_secret = 'fceb3aedb960374e74f559caeabab3562efe97b4'
    authorized_token_key = 'df919acd38722bc0bd553651c80674fab2b46508'
    authorized_token_secret = '1370adbe858f9d726a43211afea2b2d9928ed878'

    oauth_credential = tripit.OAuthConsumerCredential(consumer_key, consumer_secret, authorized_token_key, authorized_token_secret)

    t = tripit.TripIt(oauth_credential)

    # Lists the authenticated user's upcoming trips
    t.list_trip()
    print t.response