openaq / openaq-cli

OpenAQ command line interface
MIT License
3 stars 0 forks source link

V3 sensor measurements #75

Open russbiggs opened 7 months ago

russbiggs commented 7 months ago

After updating the openaq-go library to use the /v3/sensors/{sensors_id}/measurements instead of /v3/locations/{locations_id}/measurements, we should update the CLI to both use thes new functions. I envision the new sensor measurement calls being something like :

openaq measurements list [sensors_id]

See the upstream openaq-go issue here https://github.com/openaq/openaq-go/issues/3

We will want a higher level command that allows location based meaulevel but I'm not sure what the command would look like...

openaq  location-measurements list [locations_id]

Feels a little awkward open to ideas.