Retrieve scan data from your RTP LivePass based resort season pass.
Retrieve scan data from an RTP LivePass based season pass account.
Defaults to Park City Mountain Resort.
$ npm install rtp-live-pass
var LivePassUser = require"./index"async = require"async";var user = ;asyncwaterfalluserauthenticate"email@example.com" "password"callbackerr userObject;;usergetAccessCodecallbackerr accessCode;;usergetScanHistorycallbackerr history;;console.logerr;console.logresult;;
Once you've determined the root endpoint for your resort's LivePass API, you can override the LivePassUser object's endpoint value.
var user = ;user_resortEndpoint = "";
For more information on determining your resort's LivePass API endpoint, see my blog post here: http://jeffstieler.com/projects/mylivepass-season-ski-pass-data-retrieval/