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

Add an API: GET /eligible-jurisdiction?state= #42

Open
2 tasks
syk1112 opened this issue Oct 19, 2019 · 1 comment
Open
2 tasks

Add an API: GET /eligible-jurisdiction?state= #42

syk1112 opened this issue Oct 19, 2019 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers P2 Nice-to-have

Comments

@syk1112
Copy link
Collaborator

syk1112 commented Oct 19, 2019

Step 1 of #42

  • Create an api endpoint returning all the eligible counties Courtbot serves in Oklahoma via an api call /eligible-jurisdiction?state=OK. Response should return:
{
    "jurisdiction_type": "city" | "county" | "ward" | "zip_code" | "state",
    "eligible_juridisdictions": [
        // should be eligible values of the jurisdiction_type
        // e.g. "city" jurisdiction type lists eligible cities "Tulsa", "Muskogee", "Roger" etc
        // "zip_code" jurisdiction type lists eligible zip codes 74133, 74012, 74114
    ]
}
@syk1112 syk1112 changed the title Fuzzy matching for eligible counties in Oklahoma Add an API: GET /eligible-jurisdiction?state= Oct 19, 2019
@kendallcorner
Copy link
Collaborator

I think I will try to look at this in my spare time.

syk1112 added a commit that referenced this issue Jul 8, 2020
fix for #42: added eligible juridiction endpoint
@syk1112 syk1112 added enhancement New feature or request good first issue Good for newcomers P2 Nice-to-have labels Oct 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers P2 Nice-to-have
Projects
None yet
Development

No branches or pull requests

2 participants