timotheus / ebaysdk-python

eBay API SDK for Python
https://developer.ebay.com/tools/sdks
Other
796 stars 321 forks source link

Add iaf_token parameter info to readme and wiki #294

Open bushjt987 opened 4 years ago

bushjt987 commented 4 years ago

Was trying to use oauth tokens with the trading api. Went digging around in the code and found that iaf_token is a parameter for Connection.execute() that sets up the proper header for this, rather than using just "token" for the old ebay auth n auth system.

I'm glad it works but I'm lucky I found it. I highly suggest pointing this out in your wiki/readme so other people realize its there. I believe there are two open issues about this already.

For those who don't know what this parameter does, it adds your oauth token to the headers of your request in the way ebay describes here: https://developer.ebay.com/api-docs/static/oauth-trad-apis.html

brianwawok commented 2 years ago

This is a good tip, thank you!