pajaydev / ebay-node-api

eBay API Client for node
https://pajaydev.github.io/ebay-node-api
MIT License
131 stars 76 forks source link

Auth flow equivalent to getUserDetails? #141

Closed rambonette closed 3 years ago

rambonette commented 3 years ago

Issue or Enhancement

Steps to reproduce

Expected Behavior

Is there a way to get shop/user details (like getUserDetails) using the auth flow?

Actual Behavior

pajaydev commented 3 years ago

@rambonette This library is already supporting getUserDetails. You can check the example here https://github.com/pajaydev/ebay-node-api/blob/642a273df4a474cc6112befa6992ee711d231139/demo/shopping.js#L19

rambonette commented 3 years ago

Thanks for the reply! I'm looking for a way to retrive user data with the auth flow and getUserDetails doesn't use it as of now. Is there a way to get user data with the auth/token flow with this wrapper?

Thank you! :)

rambonette commented 3 years ago

Any news? Is this library using the OAuth flow?

pajaydev commented 3 years ago

@rambonette We don't need oauth flow to get the user details. Above method should work. To look more around oauth flow, kindly check this library ebay-oauth-nodejs-client. You can wrap this around it.

rambonette commented 3 years ago

That's exactly what I've done! Thank you :)