Skip to content

Add new function for uploading data per file #125

@nhoening

Description

@nhoening

We have post_measurements() which uses the API (POST sensors/data) to send data per JSON, but now we have a new endpoint for sending data per file upload (POST sensors/(id)/data/upload`).

For many devs, that would be a useful way to start.

Also, I would rename the existing one. It can be used to send anything, not just measurements. (and the pendant is already called get_sensor_data()).
Let's call the send_sensor_data() and upload_sensor_data().

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions