Louisville Metro District Finder

This api enables anyone to programmatically find which metro district a geopoint (latitude + longitude) belongs to as well as some basic info about the metro councilmember for that district. All Responses are JSON.

Endpoints

https://glasscapitol.org/api/v1/districtfinder?area=louisville&latitude={lat}&longitude={lng}

Example Resonse JSON

{
'district':'1',
'name':'Jessica Green',
'phone':'(502) 574-1101'
}

Code Example (Python)

import urllib2
import json

lat = '38.280238228'
lng = '-85.6048508038'
url = 'https://www.glasscapitol.org/api/v1/districtfinder?area=louisville&latitude=' + lat + '&longitude=' + lng

u = urllib2.urlopen(url)
b = u.read()
print b

Stay up to date with our progress

[[email_error_text]]
The Glass Capitol © 2015