Created
March 31, 2012 01:03
-
-
Save codingjester/2258390 to your computer and use it in GitHub Desktop.
Simple Python Gist for the Tumblr API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import oauth2 as oauth | |
consumer = oauth.Consumer('consumer_key','consumer_secret') | |
token = oauth.Token('oauth_key', 'oauth_secret') | |
client = oauth.Client(consumer, token) | |
print client.request("http://api.tumblr.com/v2/user/info", "POST") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment