Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move Client.addScope and Search.findListingByIds to .coffee from .js #12

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

aqandrew
Copy link

I moved a function written by @httpNick in client.js to client.coffee. Similarly, I moved the findListingByIds function by @gsabran from search.js to search.coffee. To prevent issues like these in the future, I added CoffeeScript compilation instructions to the README.

The solution to #2 fixes #10. I.e. the options parameter of the Client constructor should be a JSON object which specifies the API key within the key property. I also updated the README to reflect this in the public mode example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

problem with the constructor for class etsyjs.client('your_api_key');
1 participant