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

Error searching: urlToHttpOptions is not a function #24

Open
Thibaut78 opened this issue Feb 25, 2021 · 1 comment
Open

Error searching: urlToHttpOptions is not a function #24

Thibaut78 opened this issue Feb 25, 2021 · 1 comment

Comments

@Thibaut78
Copy link

Error searching: urlToHttpOptions is not a function

Just trying this sample of code:

const StockXAPI = require('stockx-api');
const stockX = new StockXAPI({ currency: 'EUR' });

stockX.newSearchProducts('yeezy', {
limit: 5
})
.then(products => console.log(products))
.catch(err => console.log(Error searching: ${err.message}));

@matthew1232
Copy link
Owner

Just pushed a new update 1.1.0, please download the new version and let me know if that fixes anything.

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

No branches or pull requests

2 participants