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