fashioncloud-api-client

1.0.0 • Public • Published

fashioncloud-api-client

Quick Start

npm install --save fashioncloud-api-client
const FashionCloud = require('fashioncloud-api-client')

const fashionCloud = new FashionCloud({ 
  token: process.env.FASHIONCLOUD_TOKEN 
})

(async () => {
  // List Brands
  // refer to https://fashioncloudv2.docs.apiary.io/#reference/0/brands-collection/list-brands
  const brands = await fashionCloud.listBrands(params)

  // List Products
  // refer to https://fashioncloudv2.docs.apiary.io/#reference/0/brands-collection/list-products
  const products = await fashionCloud.listProducts(params)

  // Get Image URL
  const url = fashionCloud.getImageUrl(id)
})()

Package Sidebar

Install

npm i fashioncloud-api-client

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.04 kB

Total Files

3

Last publish

Collaborators

  • tobiashocke