Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple searches at once? #1

Open
christorepl opened this issue Jul 23, 2020 · 1 comment
Open

Multiple searches at once? #1

christorepl opened this issue Jul 23, 2020 · 1 comment

Comments

@christorepl
Copy link

Would it be possible to make multiple searches at once? For example,
https://coronavirus-us-api.herokuapp.com/api/state/all?source=nyt&fips=01,02
This currently returns

{
    "latest": {
        "confirmed": 0,
        "deaths": 0
    },
    "locations": []
}

Or am I just missing how to do multiple searches at once? I'm currently creating an app using this API and others that will display poverty rates and covid rates, and the other API's accept a comma separated list of fips codes, if this one did, too, it would make writing the app a lot easier!

@Spiderpig86
Copy link
Owner

Hi and thanks for checking out the API. Currently, there is no way to query multiple locations by name, state, fips, etc., but this can be added in a future release. ETA for this is kinda unknown at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants