I am trying to use Yelp's API using oauth2 package (version 2), the Python 3.4 (in Anaconda's Spyder) code is like:
consumer = oauth2.Consumer(CONSUMER_KEY, CONSUMER_SECRET)
and I get this error message:
AttributeError: 'module' object has no attribute 'Consumer'
I'm guessing Consumer doesn't exist in this version of oauth2! Any help would be appreciated,