supremenewyork-api-v2

2.0.2 • Public • Published

supremenewyork-api

npm version License: MIT

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.

Requirements

Requirement Version
Node ^8.8.0
NPM ^5.5.1

Installation

npm i supremenewyork-api

Usage

For all features of this package, please visit the documentation.

Find Function

Finds item based on keyword and category and returns a json string with information.

Sample JSON Response

{  
  "title": "Sled",
  "price": "58.00",
  "id": "171145",
  "imageurl": "http://images.supremenewyork.com/142396/ma/Bennk6ztM1w.jpg",
  "new": "true",
  "category": "Accessories"
}

Example Code for Find

const api = require('supremenewyork-api');

api.find('sled', 'all', (item, error) => {
  if (error) {
    console.log(error);
  } else {
    console.log(item);
  }
});

TODO

  1. Style Fetcher
  2. Restock Detecter

Readme

Keywords

none

Package Sidebar

Install

npm i supremenewyork-api-v2

Weekly Downloads

2

Version

2.0.2

License

MIT

Unpacked Size

9.39 kB

Total Files

8

Last publish

Collaborators

  • c.delouvencourt