Skip to content

Add new function for uploading data per file #125

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().

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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