api php demo

in Development
I'm new to Lightspeed. I've jumped through the hoops to get my client id setup. Is there a simple example (demo) PHP program which I can start with? For now,I just want to get some sales history. The endpoints look fairly standard but I need an example program which does the basic auth stuff with curl and then I should be good to go.
Answers
@stevecantor Take a look here: https://developers.lightspeedhq.com/retail/authentication/oauth-code-samples/
Lightspeed HQ
This is helpful but I was hoping for a application that goes through all the steps - gets the auth token and uses it to do a simple query. Maybe I'm not following what all this does......
You can follow the instructions in the documentation to get your access token and refresh token (or use the PHP client linked above) and then use the postman collections to make test calls, but we don't offer a sample application to make additional calls for you, only to get the initial access token and refresh it as needed.
Lightspeed HQ