bensheldon / open311status

Open311 Status monitors and aggregates the status of dozens of Open311 API endpoints, providing benchmarks and comparative insights.
https://status.open311.org
MIT License
34 stars 14 forks source link

How to find endpoint for See Click Fix installation? #34

Open tdooner opened 6 years ago

tdooner commented 6 years ago

Hey! I'm trying to add Oakland to this.

The closest I can get to figuring out the endpoint URL is going here:

https://seeclickfix.com/api/v2/places?address=Oakland,+CA

...which says that Oakland has ID = 1693. But this doesn't seem to work.

Am I missing something? How do I get the endpoint URL for Oakland?

bensheldon commented 6 years ago

SCF's places API for open311 requires an "account ID", which I couldn't find an index/lookup for. I wrote a gentle script to poke at their services api, and determined that oakland's account code is 219.

Here's all of the results: https://gist.github.com/bensheldon/8eede8245f159cd2096569cdb9d84a45

I'm about to switch over from a node version open311status to a rails-based version. Please hold off on adding it till I get #33 merged.

bensheldon commented 6 years ago

Ruby on Rails application is now on master branch; would love feedback on making update.

tdooner commented 6 years ago

Oh, hah. I'm glad I wasn't missing anything. I'll PR it into the config!