timothyac / supreme-community-api

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:MIT License


Languages

Language:TypeScript 78.4%Language:JavaScript 21.6%