-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
[MVP Socrata API] Implement inital Socrata API GET request #1892
Comments
This comment has been minimized.
This comment has been minimized.
Some clarifying questions:
|
We'll leave this as is, although we acknowledge its not being used.
Please deliver an example of accessing the 2024 resource first, then we'll build infrastructure for accessing multiple years. |
Following up after our team meeting. Added an additional step to see that Potential solution: JSON API
|
This comment has been minimized.
This comment has been minimized.
The code is on feature-socrata-api-layer feature branch. I verified fetch works on my deployed Github Pages site. Results are viewable through the console after pressing 'Get data' button on the Search and Filters modal. |
Added a section to structure the data from Socrata API to our RequestTypeModel (#1891 (comment)) @kdow . I've included a validation package; install with npm. Open to other package suggestion!
|
Hi @kdow , Please leave a comment with the following items:
|
This comment has been minimized.
This comment has been minimized.
updated ETA: 2/7 |
Code for updates can be viewed on commit in I kept the validation schema in the same file for now for ease of reference. There may be additional validation checks we can add if wanted. Possibly for categorical strings (E.g. RequestType (12 values), AssignTo (59 values)) - we could use string().matches(). |
@kdow sounds good, thanks for the update. Can you additionally do the following? Please provide...
Thanks! |
Error in fork: Notes
Action Items for Leads
|
Updated ETA: 2/12 |
Met with kdow, we have resolved a small fix for the solution. @kdow feel free to leave a comment of your github page showing your deployed branch and other details you'd like to share. |
My github page is now working. Updates (API results before validation and after validation) can now be viewed in console after clicking |
Overview
We need to implement a service that can call the Socrata API and return its response from any component
Developer Info
We are NOT merging this into
develop
. This is meant to be a staging branch for the Blank Map feature ONLYAction Items
Initial Socrata API Setup:
feature-socrata-api-layer
Defining GET data model with Validation:
Request Type Model can be found here: #1891 (comment)
ready for dev lead
Resources/Instructions
Data Types
Creative liberty to get whatever data you want for (Initial Socrata API Setup section).
GET 2024 Boundary data as JSON
GET 2024 Boundary data as GeoJSON
The text was updated successfully, but these errors were encountered: