Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 411 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 411 Bytes

Segment Api

Install

npm install @perspective-software/segment-api

Docs

Docs available at https://perspective-software.github.io/segment-api/docs/SegmentApi.html

Example

const segmentApi = new SegmentApi({
    WORKSPACE: 'workspaceId',
    TOKEN: 'token', // personal access token
});

const response = await segmentApi.getCatalogDestination({name: 'facebook-pixel'});