zeplin-client
v1.2.1
Published
Zeplin NodeJS Client with OAuth
Downloads
2
Readme
Zeplin OAuth NodeJs API Client
Prerequisites
You will require the following to make use of this boilerplate.
- Github account.
- Node.js installed on your local machine and optionally yarn.
- Git installed on your local machine.
- An IDE with javascript/typescript support.
Recommended IDE
You should be using Visual Studio Code because its simple, fast, extensible and beloved by many developers.
Make sure to install all the recommended extensions that come with the repository for the best possible coding experience.
Quick Start
Install package using npm i --save zeplin-client
import Client, { Types } from 'zeplin-client'
const client = new Client('app-id', 'app-secret', 'https://api.relevantfruit.com')
const pagination: Types.Pagination = { limit: 100, offset: 0 }
client
.getScreens('my-access-token', pagination)
.then(console.log)
.catch(console.error)