openaq / openaq-cli

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

add `sensors` command with `get` and `list` subcommands #38

Open majesticio opened 1 year ago

majesticio commented 1 year ago

Once available we could use the sensors resource similarly to locations. Perhaps we would only use get with thesensors_id, where the sensors_id would be discovered using the locations resource, and as such sensors command would not have any spatial queries available?

russbiggs commented 1 year ago

@majesticio let's open a separate issue related to this also figure out how to deal with /v3/locations/[locations_id]/sensors. Not sure if that would fall under the same interface described here (via a flag?) or what.