Government Database Address Lookup Integration
Budget: $30 – $250 USD
I need a small, self-contained script that takes a street address entered on my website, queries the designated Government Database, and returns the corresponding Congressional District Representatives so I can display them instantly to the user.
Key points to keep in mind
• The query must be fired automatically when the visitor completes the address field.
• Only the Government Database should be contacted; no fall-backs to Google Maps, OpenStreetMap, or other services.
• The response has to arrive back in a Python-friendly structure (e.g., a clean dictionary or class object) that I can drop straight into my existing view logic without extra parsing.
Deliverables
1. A well-documented Python module (or function) that accepts an address string and outputs the representatives.
2. Any helper utilities or API keys clearly separated in a config section.
3. A brief README or inline docstring explaining usage and where, if necessary, I should plug in credentials.
Acceptance criteria
• Inputting a valid U.S. address on my staging site returns the correct congressional representatives in under two seconds.
• The script handles common edge cases—abbreviations (St. vs Street), apartment numbers, and PO Boxes—without crashing.
• All external calls remain limited to the specified Government Database endpoint.
I already have the front-end address field in place; simply supply the backend code and a short integration note so I can wire it up.
Key points to keep in mind
• The query must be fired automatically when the visitor completes the address field.
• Only the Government Database should be contacted; no fall-backs to Google Maps, OpenStreetMap, or other services.
• The response has to arrive back in a Python-friendly structure (e.g., a clean dictionary or class object) that I can drop straight into my existing view logic without extra parsing.
Deliverables
1. A well-documented Python module (or function) that accepts an address string and outputs the representatives.
2. Any helper utilities or API keys clearly separated in a config section.
3. A brief README or inline docstring explaining usage and where, if necessary, I should plug in credentials.
Acceptance criteria
• Inputting a valid U.S. address on my staging site returns the correct congressional representatives in under two seconds.
• The script handles common edge cases—abbreviations (St. vs Street), apartment numbers, and PO Boxes—without crashing.
• All external calls remain limited to the specified Government Database endpoint.
I already have the front-end address field in place; simply supply the backend code and a short integration note so I can wire it up.
Related categories:
PHP
Python
Software Architecture
MySQL
Web Development
Backend Development
Documentation
API Development