Hello Agustin,
is there a way to delete a variable (zero it ) by python API? If so can you provide a the command and all its switches?
thanks
Steve
PS are you going to be at Microchip Masters this year?
Hello Agustin,
is there a way to delete a variable (zero it ) by python API? If so can you provide a the command and all its switches?
thanks
Steve
PS are you going to be at Microchip Masters this year?
Hi Steve,
Actually not, but it’s an easy (and useful) addition to the Python library. We’ll add it soon and let you know.
Hi Steve,
The new Python library is up!
To update the library run:
pip install -U ubidots
To remove values from a variable:
d = api.get_datasources(params={'tag':'test'})[0] // We also included an update to get a datasource by its tag
v = d.get_variables()[1]
v.remove_values(1434655554000, 1435793031000) // remove from initial_timestamp until final_timestamp, in millis