An api for SupremeNewYork based in NodeJS.
This package has many features. You can read about all of the features on the documentation. Below you will find information on how to install the package + some basic features.
Requirement | Version |
---|---|
Node | ^8.8.0 |
NPM | ^5.5.1 |
npm i supremenewyork-api
For all features of this package, please visit the documentation.
Finds item based on keyword and category and returns a json string with information.
{
"title": "Sled",
"price": "58.00",
"id": "171145",
"imageurl": "http://images.supremenewyork.com/142396/ma/Bennk6ztM1w.jpg",
"new": "true",
"category": "Accessories"
}
const api = require('supremenewyork-api');
api.find('sled', 'all', (item, error) => {
if (error) {
console.log(error);
} else {
console.log(item);
}
});
- Style Fetcher
- Restock Detecter