How can I obtain weather info?

Posted:
Sat May 20, 2023 11:57 am
by MistyClimber
I just want to make a function that returns a value such as "cloudy" or "sunny" in my local vecinity (in Spain). I've been scratching my head all afternoon without any progress.
That will be checked 3 times a day max, so a free api should do the trick.
Thanks in advance!
Re: How can I obtain weather info?

Posted:
Mon May 22, 2023 8:29 am
by QuickFix
Weren't any of
the answers to your same question on Reddit helpful?
You really have to put more effort in things if you want other people's help.

Re: How can I obtain weather info?

Posted:
Tue May 30, 2023 4:25 am
by Moleo
MistyClimber wrote:I just want to make a function that returns a value such as "cloudy" or "sunny" in my local vecinity (in Spain). I've been scratching my head all afternoon without any progress.
That will be checked 3 times a day max, so a free api should do the trick.
Thanks in advance!
I usually use
https://weather.abstractapi.com/v1/current?api_key={API key}&location={location}
Abstract API