Quickly exploring the API with a client
Tools like Postman are perfect for exploring the Leafy Energy API without writing code first. In the demo you can provide an example collection.
Typical calls in the collection
GET /v1/customers/me– verify that your key works.GET /v1/sites– list all customer sites.GET /v1/pricing/day-ahead– example of dynamic hourly prices.GET /v1/sessions?limit=20– latest charging sessions.
Postman variables
- Environment variable for
base_url(sandbox vs production). - Environment variable for
api_key.
In training sessions you can demonstrate how to switch from sandbox to production with a single click and how to share responses live from Postman.
Comments
0 comments
Please sign in to leave a comment.