0.1.2 • Published 4 years ago
baselinker-api v0.1.2
baselinker-api
It's simple library, that helps to work with baselinker api in javascript/typescript.
Table of Contents
Installation
Add dependency to your project:
yarn add baselinker-api
Usage
Here is an example how to use:
import { baselinkerClient, types } from 'baselinker-api'
const token = '1234-56789-8JGKELWOIRJD8JWJQJB0DKEILBJLKSD3WJLKJEJIO3NC'
const options = { token }
const client = baselinkerClient(options)
const storages: types.Storages[] = await client.getStoragesList()
// or
const orderStatusList: types.OrderStatusResponse = await client.request('getOrderStatusList')
You can read more on api.baselinker.com.
Support
Please open an issue for support.
Contributing
Please contribute using Github Flow. Create a branch, add commits, and open a pull request.