-->
Page 1 of 2

How can I obtain weather info?

PostPosted: 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?

PostPosted: 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. :roll:

Re: How can I obtain weather info?

PostPosted: 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

Re: How can I obtain weather info?

PostPosted: Tue May 30, 2023 7:16 pm
by Moleo
QuickFix wrote: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. :roll:


I got it