-
Notifications
You must be signed in to change notification settings - Fork 4
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
Question about the response JSON structure and API service #6
Comments
Hello, thanks for coming by!
For example, if you want to perform back-end filter by state, or date, you can do this easily. For example, this request is only 15kb:
My ID might change, but its not to likely. They have been pretty stable for the past few days.
That is correct. You can ignore this field for now. Check this issue 2020PB/police-brutality#504 for changes to API structure.
Originally I was expected to pull in some additional information from the main feed. You can ignore this field, and it will probably be dropped sometime.
I fetch it from Google. Check it out: https://github.com/949mac/846-backend/blob/develop/app/Console/Commands/UpdateLatLong.php
I will keep this service online indefinitely. If it becomes cost prohibitive to stay online, I'll give you and everyone else plenty of notice. But right now, there is no plan to retire the endpoint at any time! |
Thanks a lot for taking the time and answering them, this helps a lot 🙏 |
Hey @949mac kudos for putting time to make this API possible. I am working on a front end client Android app using same data source.
I'm deciding between using plain raw data and the API exposed by api.846policebrutality.com
I see some differences between the
all-locations.json
data and API response, I just wanted to confirm few things."id":"7b05ac80-a9d6-11ea-a72a-db8cd82c4def"
is likely system auto-generated. Is it going to be stay consistent after each data import? or it will generate new set of keys?"description":null
- I am guessing this will stay as null until there is way to manually update them for each item."data":null
field?"geocoding": {}
data coming from? it's not in the original source.Also, wondering where is the
api.846policebrutality.com
hosted and how long will it stay live? I am sure there is cost associated with it.The text was updated successfully, but these errors were encountered: