@fashioninsights-zalando/fcp-client
The fashion insights platform javascript sdk
Last updated 3 years ago by mkarpathiotaki .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @fashioninsights-zalando/fcp-client 
SYNC missed versions from official npm registry.

fcp-client-js

Fashion Content Platform - JavaScript SDK

Getting started

Install

with NPM

npm install --save @fashioninsights-zalando/fcp-client

with Yarn

yarn add @fashioninsights-zalando/fcp-client

Usage

Content Insights Client

import { ContentInsightsClient } from '@fashioninsights-zalando/fcp-client'
...

const client = ContentInsightsClient({ host: 'http://fcp-host/', tenantID: 'MY_FCP_TENANT_ID' })
...

Influencers Client

import { InfluencersClient } from '@fashioninsights-zalando/fcp-client'
...

const client = InfluencersClient({ host: 'http://fcp-host/', tenantID: 'MY_FCP_TENANT_ID' })
...

Fashion Store Client

import { FashionStoreSearchDataClient } from '@fashioninsights-zalando/fcp-client'
...

const client = FashionStoreSearchDataClient({ host: 'http://fcp-host/', tenantID: 'MY_FCP_TENANT_ID' })
...

Development

  1. Building
  • Run yarn to get the project's dependencies
  • Run yarn run build to produce minified version.
  1. Development mode
  • Having all the dependencies installed run yarn run dev. This command will generate an non-minified version and will run a watcher so you get the compilation on file change.
  1. Running the tests
  • Run yarn run test

Scripts

  • yarn run build - produces production version under the lib folder
  • yarn run dev - produces development version and runs a watcher
  • yarn run test - well ... it runs the tests :)

Current Tags

  • 3.15.2                                ...           latest (3 years ago)

17 Versions

  • 3.15.2                                ...           3 years ago
  • 3.15.0                                ...           3 years ago
  • 3.12.0                                ...           3 years ago
  • 3.9.0                                ...           3 years ago
  • 3.8.0                                ...           3 years ago
  • 3.7.0                                ...           3 years ago
  • 3.6.0                                ...           3 years ago
  • 3.2.0                                ...           3 years ago
  • 3.5.0                                ...           3 years ago
  • 3.4.0                                ...           3 years ago
  • 3.3.0                                ...           3 years ago
  • 3.1.0                                ...           3 years ago
  • 3.0.0                                ...           3 years ago
  • 1.3.0                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 18
Last Day 0
Last Week 17
Last Month 0
Dependencies (3)
Dev Dependencies (14)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |