bhushankummar / eBay-node-client

Ebay NodeJS Wrapper
MIT License
54 stars 66 forks source link

Question: Access token + Lambda #38

Open wezside opened 3 years ago

wezside commented 3 years ago

Hi,

I have a question regarding running your wrapper within a lambda that might get called multiple times. I have a list of items I search for which triggers a Lambda for each item which in turn makes use of your API call ebay.browse.search. My question is do I need to get a single access token and re-use or should I just execute the call ebay.application.getOAuthToken within the Lambda every time?

Thanks for your time and effort with the API.