Expressions/Scripts/Presets

Moderator: byronnash

 
wahlunge
Topic Author
Posts: 1
Joined: Wed Nov 08, 2017 2:07 am

Weather Api, get json-file

Wed Nov 08, 2017 2:59 am

Hi.
Very new, but also curious, to scripting. 
I need a script that can help me:
1. Get a json-file from an api
2. Put the data into sourcetext in after effects
3. Change some icons depending on the data

I am trying to build a weather forecast aep. I want my to get my json from here: https://opendata-download-metfcst.smhi.se/api/category/pmp3g/version/2/geotype/point/lon/16.158/lat/58.5812/data.json
The values I would like to get are the temperature ("t") and the weather symbol ("Wsymb"). I only need the values for three following days at noon ("2017-11-11T12:00:00Z").

Very thankful for answers, even only parts of the solution.

Who is online

Users browsing this forum: No registered users and 5 guests