Skip to content

Instantly share code, notes, and snippets.

View strizhechenko's full-sized avatar
💭
I may be slow to respond.

Oleg Strizhechenko strizhechenko

💭
I may be slow to respond.
View GitHub Profile
@strizhechenko
strizhechenko / goodreads-oauth-example.py
Created December 28, 2016 05:03 — forked from gpiancastelli/goodreads-oauth-example.py
A Python example of how to use OAuth on GoodReads
import oauth2 as oauth
import urlparse
url = 'http://www.goodreads.com'
request_token_url = '%s/oauth/request_token' % url
authorize_url = '%s/oauth/authorize/' % url
access_token_url = '%s/oauth/access_token/' % url
consumer = oauth.Consumer(key='Your-GoodReads-Key',
secret='Your-GoodReads-Secret')