Skip to content

bluewire-solutions/fashioncloud-api-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)
})()

About

node client for getting data from fashion.cloud api (v2)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published