Skip to content

timothyac/supreme-community-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.