1.4.1 • Published 11 months ago
@nightswinger/sigfox-js v1.4.1
Sigfox API Client for Node.js
Installation
npm install @nightswinger/sigfox-js
Usage
const { Sigfox } = require('@nightswinger/sigfox-js')
const client = new Sigfox({
username: SIGFOX_USERNAME,
password: SIGFOX_PASSWORD
})
// Retrieve a list of devices.
const { data } = await client.devices()
// Update a given device.
client.updateDevice('123456', { name: 'sigfox-device' })