Support TreatStream


Since this seemed to get some votes in Discord, wanted to officially make the request.

Support TreatStream API which supports two items:

  • Real time websocket that indicates when a treat has been provided
    • (Note that they say Node.JS which means Socket.IO is more than likely used)
  • REST API that returns past treats


Of note, the initial token expires after 30 days so would need to build out a system to refresh the tokens. After that the refresh tokens expire every 180 days. Assume that the new access token still expires in 30 days but would need to test that.