How do I get weather data with C2?

Get help using Construct 2

Post » Fri May 16, 2014 2:54 pm

Hey friends,

i was just wondering, who gives away weather data for free and how I can access it easy within C2 (not just temperatures, something more complicated like rain and temperature-maps etc.)

Anyone ever did this?

Greets
Beav
Image
Check out our start-up and configure your own helmet in true 3D.
B
44
S
11
G
11
Posts: 1,154
Reputation: 9,978

Post » Sun May 18, 2014 7:46 pm

An example using the wunderground apihttps://dl.dropboxusercontent.com/u/139218609/examples/weather.capx.
I had originally posted it herehttps://www.scirra.com/forum/viewtopic.php?t=92862&start=0.
You're better off fetching the data server side to keep your api key private.
B
11
S
2
G
1
Posts: 202
Reputation: 1,580

Post » Sun May 18, 2014 10:24 pm

For a quick solution using
http://simpleweatherjs.com/
you can do this:
https://www.dropbox.com/s/jtwuivwa9cia8 ... .capx?dl=1
/examples22/weather.capx

No temperature maps though, for that there are some other libraries that appear to require a signup to use and are only free up to a certain amount of uses per day.
Last edited by R0J0hound on Fri May 19, 2017 5:10 pm, edited 1 time in total.
B
92
S
32
G
109
Posts: 5,290
Reputation: 70,991

Post » Mon May 19, 2014 1:09 pm

Thanks people, this helps a lot :) Will dig through this info and come back when new questions occur!
Image
Check out our start-up and configure your own helmet in true 3D.
B
44
S
11
G
11
Posts: 1,154
Reputation: 9,978

Post » Fri May 19, 2017 1:04 pm

Message: supapawat can only post plain text URLS until they have 500 rep. 2 URLS modified. Why?
R0J0hound wrote:For a quick solution using
http://simpleweatherjs.com/
you can do this:
https://dl.dropboxusercontent.com/u/542 ... ather.capx

No temperature maps though, for that there are some other libraries that appear to require a signup to use and are only free up to a certain amount of uses per day.


Cannot download 'https://dl.dropboxusercontent.com/u/5426011/examples22/weather.capx ' reupload weather.capx please.
B
8
Posts: 6
Reputation: 312

Post » Fri May 19, 2017 5:11 pm

updated link
B
92
S
32
G
109
Posts: 5,290
Reputation: 70,991


Return to How do I....?

Who is online

Users browsing this forum: lahbach, ST314, Waltuo and 29 guests