Thank you for the tip!
Slightly off topic since I am not using the exact API in question…
I am having some issues pulling data from an API (I created a thread but didnt get any response).
Since you seem to have this down Id thought Id ask here.
I have the API +key that gives me the time of departure of next subway from my closest station.
The API link gives me the following from which I want to pull the “DisplayTime” and “Destination”.
Do you have any idea what I should put under value_template: ?
Cant get it to work =/
{"StatusCode":0,"Message":null,"ExecutionTime":109,"ResponseData":{"LatestUpdate":"2017-03-18T11:18:27","DataAge":18,"Metros":[{"GroupOfLine":"tunnelbanans blå linje","DisplayTime":"3 min","TransportMode":"METRO","LineNumber":"11","Destination":"Akalla","JourneyDirection":1,"StopAreaName":"Näckrosen","StopAreaNumber":3221,"StopPointNumber":3221,"StopPointDesignation":"1","TimeTabledDateTime":"2017-03-18T11:21:45","ExpectedDateTime":"2017-03-18T11:21:47","JourneyNumber":30302,"Deviations":null},{"GroupOfLine":"tunnelbanans blå linje","DisplayTime":"7 min","TransportMode":"METRO","LineNumber":"11","Destination":"Kungsträdgården","JourneyDirection":2,"StopAreaName":"Näckrosen","StopAreaNumber":3221,"StopPointNumber":3222,"StopPointDesignation":"2","TimeTabledDateTime":"2017-03-18T11:25:00","ExpectedDateTime":"2017-03-18T11:26:04","JourneyNumber":30029,"Deviations":null},{"GroupOfLine":"tunnelbanans blå linje","DisplayTime":"13 min","TransportMode":"METRO","LineNumber":"11","Destination":"Akalla","JourneyDirection":1,"StopAreaName":"Näckrosen","StopAreaNumber":3221,"StopPointNumber":3221,"StopPointDesignation":"1","TimeTabledDateTime":"2017-03-18T11:31:45","ExpectedDateTime":"2017-03-18T11:31:45","JourneyNumber":30304,"Deviations":null},{"GroupOfLine":"tunnelbanans blå linje","DisplayTime":"11:35","TransportMode":"METRO","LineNumber":"11","Destination":"Kungsträdgården","JourneyDirection":2,"StopAreaName":"Näckrosen","StopAreaNumber":3221,"StopPointNumber":3222,"StopPointDesignation":"2","TimeTabledDateTime":"2017-03-18T11:35:00","ExpectedDateTime":"2017-03-18T11:35:00","JourneyNumber":30030,"Deviations":null},{"GroupOfLine":"tunnelbanans blå linje","DisplayTime":"11:41","TransportMode":"METRO","LineNumber":"11","Destination":"Akalla","JourneyDirection":1,"StopAreaName":"Näckrosen","StopAreaNumber":3221,"StopPointNumber":3221,"StopPointDesignation":"1","TimeTabledDateTime":"2017-03-18T11:41:45","ExpectedDateTime":"2017-03-18T11:41:45","JourneyNumber":30306,"Deviations":null},{"GroupOfLine":"tunnelbanans blå linje","DisplayTime":"11:45","TransportMode":"METRO","LineNumber":"11","Destination":"Kungsträdgården","JourneyDirection":2,"StopAreaName":"Näckrosen","StopAreaNumber":3221,"StopPointNumber":3222,"StopPointDesignation":"2","TimeTabledDateTime":"2017-03-18T11:45:00","ExpectedDateTime":"2017-03-18T11:45:00","JourneyNumber":30031,"Deviations":null}],"Buses":[{"GroupOfLine":null,"TransportMode":"BUS","LineNumber":"515","Destination":"Sundbybergs station","JourneyDirection":1,"StopAreaName":"Näckrosen","StopAreaNumber":50407,"StopPointNumber":50407,"StopPointDesignation":null,"TimeTabledDateTime":"2017-03-18T11:18:00","ExpectedDateTime":"2017-03-18T11:18:00","DisplayTime":"11:18","JourneyNumber":20337,"Deviations":null},{"GroupOfLine":null,"TransportMode":"BUS","LineNumber":"515","Destination":"Odenplan","JourneyDirection":2,"StopAreaName":"Näckrosen","StopAreaNumber":50407,"StopPointNumber":50408,"StopPointDesignation":null,"TimeTabledDateTime":"2017-03-18T11:24:00","ExpectedDateTime":"2017-03-18T11:24:00","DisplayTime":"11:24","JourneyNumber":20367,"Deviations":null},{"GroupOfLine":null,"TransportMode":"BUS","LineNumber":"515","Destination":"Sundbybergs station","JourneyDirection":1,"StopAreaName":"Näckrosen","StopAreaNumber":50407,"StopPointNumber":50407,"StopPointDesignation":null,"TimeTabledDateTime":"2017-03-18T11:33:00","ExpectedDateTime":"2017-03-18T11:33:00","DisplayTime":"11:33","JourneyNumber":20364,"Deviations":null},{"GroupOfLine":null,"TransportMode":"BUS","LineNumber":"515","Destination":"Odenplan","JourneyDirection":2,"StopAreaName":"Näckrosen","StopAreaNumber":50407,"StopPointNumber":50408,"StopPointDesignation":null,"TimeTabledDateTime":"2017-03-18T11:39:00","ExpectedDateTime":"2017-03-18T11:39:00","DisplayTime":"11:39","JourneyNumber":20388,"Deviations":null},{"GroupOfLine":null,"TransportMode":"BUS","LineNumber":"515","Destination":"Sundbybergs station","JourneyDirection":1,"StopAreaName":"Näckrosen","StopAreaNumber":50407,"StopPointNumber":50407,"StopPointDesignation":null,"TimeTabledDateTime":"2017-03-18T11:48:00","ExpectedDateTime":"2017-03-18T11:48:00","DisplayTime":"11:48","JourneyNumber":20385,"Deviations":null}],"Trains":[],"Trams":[],"Ships":[],"StopPointDeviations":[{"StopInfo":{"StopAreaNumber":3221,"StopAreaName":"Näckrosen","TransportMode":"METRO","GroupOfLine":"tunnelbanans blå linje"},"Deviation":{"Text":"Korta tåg. Gå mot mitten av plattformen. *** Short trains. Continue to the middle of the platform. ","Consequence":null,"ImportanceLevel":2}}]}}