This demo shows how you can use the JavaScript/TypeScript SDK to access Pirsch.
Create a file called .env
inside the demo folder and adjust the hostname, client ID, and secret.
HOSTNAME=<hostname>
CLIENT_ID=<client id>
CLIENT_SECRET=<client secret>
Install the SDK using npm i
and run the demo using npm run demo
inside the demo directory. You'll see the output in your terminal.