Page 1 of 1
Rain api help
Posted: 01 Dec 2019 09:11
by Lucy
Ok this is not essentially related to this app other than i want to use it in a widget but...
I was hoping someone could take the time to have a look at this free rain api site. I cant quite figure out how to implement the code properly. Gosh i hope one of you geniuses can take the time to have a look
[url]
https://www.rainviewer.com/api.html/url]
Re: Rain api help
Posted: 01 Dec 2019 13:26
by Horschte
Try this:
http://automagic4android.com/flow.php?i ... f9b3e0998c
It saves a radar image in your Automagic folder using your current location.
Re: Rain api help
Posted: 02 Dec 2019 03:41
by Lucy
Lol... absolute genius
Re: Rain api help
Posted: 02 Dec 2019 17:49
by Micky Micky
Very nice.
I do like an API
Using your settings, do you know the size of the area shown?
Many thanks
Re: Rain api help
Posted: 02 Dec 2019 19:31
by Lucy
Ugh i gave up on that api and the sample one someone showed me wasnt quite effective. However i have finaly found 4 different api's that work and out of the 4 i use 2 the most fue to reliability and efficiency. Working: darksky, weatherbit, weatherapi and sunrise sunset.org.
I comfortably use sunrise sunset.org and weatherapi. I get accurate and reliable data. I also have filtered all types of data i need including rain perception, etc. And thanks to the object script i can now filter the data to any single output. They work great
Thankyou Horschte for that fabulous working flow but i was needing text based output. But alas i have got what i sought for
Re: Rain api help
Posted: 04 Dec 2019 17:25
by Desmanto
@Micky : It is not my flow, but it seems the area is determined by the zoom level :
https://www.maptiler.com/google-maps-co ... rojection/
At zoom level 3, with 2048x2048, it is about 19,5 meter/pixel. So it is about 40 Km x 40 Km area. the 512 seems to be cropped, which mean now it is 1/4, only 10 Km x 10 Km area. (Don't know if my calculations are correct)
@Lucy : Maybe you have solved it in other thread. To get text based, you have to retrieve the json/xml data thru the API and parse it just like what you have done in other thread.
Re: Rain api help
Posted: 04 Dec 2019 20:40
by Micky Micky
Thanks.