Hi,
This piece of code works perfectly good in Python but it fail when I try to render.
I try to check if “Partille” is part of the direction
response = http.get(url, headers=headers)
storage = response.json()
for item in range(len(storage)):
if “Partille” in (storage[“Departure”][item][“direction”]):
data = (storage[“Departure”][item][“time”])
Thanks in advance