0.2.0-1 • Published 4 years ago

unifaun v0.2.0-1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Unifaun JS

npm version CircleCI Issues

API client for the Unifaun APIConnect REST APIs.

Installation

npm i unifaun

Configuration

At the moment UnifaunJS relies on environment variables for configuration. This will change in an upcoming release.

  • UNIFAUN_USERNAME
  • UNIFAUN_PASSWORD
  • UNIFAUN_BASE_PATH (Default: https://api.unifaun.com/rs-extapi/v1)

Usage

UnifaunJS uses got under the hood, so you can use it the same way:

const { client } = require('unifaun')

;(async () => {
	try {
		const response = await client('/stored-shipments')
		console.log(response.body)
	} catch (err) {
		console.error(err)
	}
})()
0.2.0-1

4 years ago

0.2.0-0

4 years ago

0.1.0-0

4 years ago