Register an app to make requests to Settle: Authentication
Settle SDK
For Node apps – Use our NPM module
// install the sdknpm install settlesdk// import and useconst Settle = require(‘settlesdk’)Settle.PriceFeed.Ticker({token: ‘Bitcoin’})
User Specific Apps
When your app or chat plugin is loaded inside of settle, we will pass a token get param (?token) along with the app mode (?mode).
A token is passed into your app, which you can convert to a guid with:
Settle.exchangeTokenForGuid(token)// get the “token” GET param from the url, pass it into the exchange functionSettle.exchangeTokenForGuid(token)// Receive a GUID to make requests for this user