GitHunt
TI

timothyac/supreme-community-api

Pull info from the latest drop on www.supremecommunity.com/

supreme-community-api

NPM

How to install

npm install supreme-community-api --save

Usage (Promises)

const { scrape } = require("supreme-community-api");

scrape()
  .then((items) => console.log(items)) // [{name: 'Box Logo', price: '$50', image: 'http://'}, ...]
  .catch((err) => console.log(err));

Usage (Async/Await)

const { scrape } = require("supreme-community-api");

async function init() {
  const items = await scrape();

  console.log(items); // [{name: 'Box Logo', price: '$50', image: 'http://'}, ...]
}

License

supreme-community-api is licensed under MIT License.

Languages

TypeScript78.4%JavaScript21.6%

Contributors

Latest Release

2.1.1June 4, 2019
MIT License
Created September 27, 2018
Updated January 10, 2021
timothyac/supreme-community-api | GitHunt