Include package to more easily call Broadsign Open endpoints, they are automatically wrapped in a queue (using bottleneck) to avoid out of order calls or saturating connections.
To include: const bss = require("./bss");
To use: bss.bssGet("/display_unit/v12/") bss.bssPost("/day_part/v5/add", body) bss.bssPut("/day_part/v5", body)
Requires APIKEY, SERVER and PORT env vars. e.g PORT=10889 SERVER="https://prod-sandbox.broadsign.com" APIKEY="xxxxxxxxxx" node test.js