Skip to content

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

Open
aqandrew wants to merge 5 commits into
georgicodes:masterfrom
aqandrew:move-addScope
Open

Move Client.addScope and Search.findListingByIds to .coffee from .js#12
aqandrew wants to merge 5 commits into
georgicodes:masterfrom
aqandrew:move-addScope

Conversation

@aqandrew

Copy link
Copy Markdown

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