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]
Rain api help
Moderator: Martin
Re: Rain api help
Try this:
http://automagic4android.com/flow.php?i ... f9b3e0998c
It saves a radar image in your Automagic folder using your current location.
http://automagic4android.com/flow.php?i ... f9b3e0998c
It saves a radar image in your Automagic folder using your current location.
-
- Posts: 179
- Joined: 16 Oct 2019 17:38
Re: Rain api help
Very nice.
I do like an API
Using your settings, do you know the size of the area shown?
Many thanks
I do like an API
Using your settings, do you know the size of the area shown?
Many thanks
Last edited by Micky Micky on 02 Dec 2019 20:52, edited 1 time in total.
Crude but it works.
Re: Rain api help
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
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
@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.
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.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.