tauros-api
v2.0.0
Published
This module is for connection with Tauros API.
Downloads
3
Maintainers
Readme
Tauros API Nodejs
Install
npm install --save tauros-api
How to use
const TaurosAPI = require('tauros-api')
const api_key = '7c6a0aa1ee3af97a9a796dc0ee9ec558e762f397'
const api_secret = 'ZmE5ZGJjYTNhMjJjMTc0NjBmZGQ3NzQzsgelZjUwNGM3Mzk3OWRlYTBiODU1MzU0YmJhOThmOTRhOTI3NjdhMw=='
const tauros = new TaurosAPI(api_key, api_secret, staging=true)
let path = '/api/v1/profiles/'
let response = tauros.get(path)
response.then(data => console.log(data))
response.catch(err => console.log('error: ', err))