mcfunley / etsy-python

Python access to the Etsy API
http://developer.etsy.com
GNU General Public License v3.0
65 stars 46 forks source link

Don't use api key if doing an oauth request #11

Open kwellman opened 11 years ago

kwellman commented 11 years ago

Whenever an api key is used when constructing a request the oauth credentials seemed to be ignored. For example, when doing a request with a "SELF" as user id, I always get this response from etsy:

No logged in user; please specify a user id instead

This pull request fixes it by not using the api key if oauth specified. Also contains fix for #10 .