georgicodes / etsy-js

etsy-js is an asynchronous nodeJS wrapper for the etsy v2 api.
https://www.npmjs.org/package/etsy-js
35 stars 25 forks source link

added method to addScope to the authenticated request URL. #4

Closed httpNick closed 9 years ago

httpNick commented 9 years ago

I ran into the problem that I needed to add scope to the request URL (namely transactions_r) so I thought having a method to add scope might be useful for others! I just added my method into the lib/ folder in the client.js file. I am not too familiar with coffeescript so you may need to rebuild that to reflect my change in the src/ folder? Let me know of any issues!

P.S. Thank you for this module! It has helped me be able to authenticate my etsy app and still use my beloved node.js : D

georgicodes commented 9 years ago

Hi @httpNick, thanks for your kind words and great addition, sorry i was so slow in pressing merge. Its been so long since ive looked at this project that even I have forgotten how to rebuild the coffeescript :P

httpNick commented 9 years ago

No problem! I added it into my local copy so thought i'd send it in :D. Cheers!