The documentation for our SDK can be found here.
npm install starling-developer-sdk
const Starling = require('starling-developer-sdk')
// or
import Starling from 'starling-developer-sdk'
const client = new Starling({
// apiUrl: 'https://api-sandbox.starlingbank.com',
accessToken: '<oauth access token>'
})
client.account.getAccounts()
.then(({ data }) => console.log(data))
.catch(err => console.log(err))