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

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

Open
tdooner opened this issue Aug 2, 2018 · 3 comments
Open

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

tdooner opened this issue Aug 2, 2018 · 3 comments

Comments

@tdooner
Copy link

tdooner commented Aug 2, 2018

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
Copy link
Owner

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
Copy link
Owner

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

@tdooner
Copy link
Author

tdooner commented Aug 3, 2018

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

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