c-delouvencourt / supremenewyork-api

πŸ–₯ πŸ”Œ An api for SupremeNewYork based in NodeJS with many features like keyword finder, restock monitor, and droplist fetcher.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

πŸ–₯ πŸ”Œ An api for SupremeNewYork based in NodeJS with many features like keyword finder, restock monitor, and droplist fetcher.


Languages

Language:JavaScript 100.0%