Currently, I have multiple Particles. variables(<class ‘sseclient.Event’>, format) and each is returning a single value. I would like to combine all of them into one JSON formatted variable. Any good tutorial you guys can recommend that goes over this? As always appreciate all the help!
particle events:-
<class ‘sseclient.Event’>
{“data”:"{“cmd”:“loc”,“time”:1615447060,“loc”:{“lck”:1,“time”:1615447062,“lat”:17.36686325,“lon”:78.50415039,“alt”:430.215,“hd”:180.76,“h_acc”:2.500,“v_acc”:4.900,“cell”:76.2,“batt”:93.1,“temp”:34.6},“trig”:[“time”],“req_id”:130846}",“ttl”:60,“published_at”:“2021-03-11T07:17:43.229Z”,“coreid”:“e00fce689aeaba685bcfe465”,“userid”:“5fe99e8e8d4b305a39783fdc”,“version”:11,“public”:false,“productID”:12878}
convert it to json or python dictionary
Thanks