Postman Colletion for Homeseer
Playing with Homeseer API’s?
Here’s the perfect tool for you. Postman is, by itself, a fantastic tool to test API’s but you have to enter all API details.
That’s where collections help out. I have added all API endpoints and documentation in a “collection” file that you can import straight into your Postman.
After that you create an “Environment” in postman that has 1 key:
NOTE: that you have to change the current value to https:// and enter the IP address to your Homeseer server.
This “hsserver” key is now filled in automatically for all API calls from this collection – AS LONG AS YOU SELECTED/ACTIVATED THIS ENVIRONMENT IN POSTMAN (top right)
With the environment set you can use all the API calls from the collection.
API call to code?
When you start programming, Postman has a fantastic feature that turns a succesfull API call into code that you can use in your favourite programming language.
You can do that by clicking the “CODE” icon on the right (looks like this: </> )
Download
instructions on how to import this collection in Postman: