openaq / openaq-cli

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

add optional `providers` flag to `countries list` command #40

Closed majesticio closed 1 year ago

majesticio commented 1 year ago

pass a providers ID to --providers to fetch a list of countries with that providers ID available. eg: openaq countries list --providers 119 to fetch a list of countries with airnow data

russbiggs commented 1 year ago

Is this currently implemented in the API? I' get a 500 when trying to pass a parameters_id= in the query string

majesticio commented 1 year ago

looks like right now we are just counting the providers for the countries resource eg: "providersCount": 4

russbiggs commented 1 year ago

no longer adding these query params