amaro10

https://www.octopuslab.cz/api/led1.json

from urequests import get
from json import loads

response = get(url)
dt_str = response.text
print(str(dt_str))
j = loads(dt_str)
print(str(j))
aj = j['light']
mip.install("github:org/repo/path/foo.py")  # Uses default branch

Upravit