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

Wordpress Plugin with ShortCode #3

Open
wants to merge 2 commits into
base: wip
Choose a base branch
from

Conversation

gkorodi
Copy link

@gkorodi gkorodi commented Oct 8, 2024

This code is a crude PHP implementation of validating the Census API call with an address entered on a Wordpress Page.

The code parses the entered string (assuming, but not validating, that it is an address)
Sends it to the Census Geocoder and receives a response
Parses the response and extracts the Tract ID
Validates that received TractId against the .csv file containing the "supported" Tract IDs
Returns an ugly HTML string to state wether the TractID is "supported" or not by HarvardFCU

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

Successfully merging this pull request may close these issues.

1 participant