Pulling data from dweet.io


Hello,
I need to pull the "times" from dweet.io and put each into their own respective textbox (right now they all say INF but will eventually have actual times). I'm trying to put the data into a list, so that I can index through it and fill in the Stop ETAs. I'm not sure what else I need to do after the .JsonTextDecode to make this happen, due to dweet having several lines of data aside from just the "times".

Any advice is much appreciated! Thank you

You need to convert this responseContent to Dictionary using Web.JsonTextDecodeWithDictionary, then Dictionary's get vale at key path.
The times looks like a String, not a List, you can use list from csv row to convert String to List.

1 Like


Does it appear that I am on the right track now? I am getting this error.

1 Like

Your path is

with
1
created

if you want creation time

Also, AI2 list indexes start at 1, not 0.

If you want the INF values you still need 1 in the path list because [ ... ] is a list.

with
1
content
times

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.