3.15.2 • Published 7 years ago

@fashioninsights-zalando/fcp-client v3.15.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

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 :)
3.15.2

7 years ago

3.15.0

7 years ago

3.12.0

7 years ago

3.9.0

7 years ago

3.8.0

7 years ago

3.7.0

7 years ago

3.6.0

7 years ago

3.2.0

7 years ago

3.5.0

7 years ago

3.4.0

7 years ago

3.3.0

7 years ago

3.1.0

7 years ago

3.0.0

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago