Hey. Hey. I would like to retrieve the current diesel prices in my area from the website. I found that it would probably be possible using www.browse.ai where I can create a robot. Has anyone solved something similar?
This is what I get from browse.ai robot:
Now comes my problem and how to get these values into Homey
I still canāt get over the error: {āstatusCodeā:401,āmessageCodeā:āunauthorizedā}
I admit Iāve never made any flow that works with HTTP requests, so Iām just getting familiar with it.
Thank you for any help
Have you tried the API call over Postman or other tools? You can download the OpenAPI definition and import into Postman. It is working for me, but I tried different endpoint. Then you can compare differences between calls from Postman and Homey.
Hi,
I made something similair to check my public IP.
Just use Homeyscript and use the fetch object, get the json body for your values, see example below.
The script you can execute in a flow if you want.