is there way to fetch only certain data through urlfetch?

that’s the site and it seems json something which I don’t really know and couldn’t find a way to get only certain data which is temp and time the number part is there a way to make command on nightbot?

for instance: I like to see result as “It’s 28.0 degree monitored in 2021-08-12 07:30:03”

Hiya, something like this should work:

$(eval const api = $(urlfetch json; `It's ${api.temp} degree monitored at ${api.time}`)
1 Like

Thank you so much for helping me out! it works like charm!

1 Like

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