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

Fix Baltimore endpoint #129

Open
bensheldon opened this issue Jul 6, 2019 · 2 comments
Open

Fix Baltimore endpoint #129

bensheldon opened this issue Jul 6, 2019 · 2 comments

Comments

@bensheldon
Copy link
Owner

bensheldon commented Jul 6, 2019

Looks like ~10 months ago the Baltimore 311 endpoint changed. Requests stopped altogether on Open311 and images are broken. https://status.open311.org/cities/baltimore

If you check their portal: https://balt311.baltimorecity.gov/citizen/requests then you'll see actual requests filtering in.

API Docs:  https://dev.socrata.com/foundry/data.baltimorecity.gov/9agw-sxsr

@Mr0grog
Copy link

Mr0grog commented Jul 9, 2019

Don’t know if this helps, but I took a quick look and:

  • The API docs at dev.socrata.com/foundry/data.baltimorecity.gov/9agw-sxsr appear to be a frozen data set that hasn’t been updated since April (maybe when the API changed?)
  • The portal now uses the endpoint at: https://baltimore311.herokuapp.com/311/v3/services.json
    • It’s labeled v3 but a real rough check looks like it adheres to the Open311 v2 API.
    • /311/v2/services.json doesn’t exist (and I assume nothing else at /311/v2/*). (Updated to fix typo in this line.)

…so I think you might be able to just change the YAML to point at the new Heroku URL above: https://github.com/codeforamerica/open311status/blob/607b13034346d559fbcbef3e634ff978a764fd67/config/cities.yml#L13-L17

On a very poor connection while traveling, so can’t really dig in to confirm fully.

@bensheldon
Copy link
Owner Author

Thanks @Mr0grog. It looks like it requires me to register to get a working api_key that will allow me to fetch requests 😞 ... and supporting that will require code changes.

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