Quote:
Originally Posted by Andrew Schreiber
Eugene - does this mean that TBA has zip code/more granular location data for team? If so any chance that gets exposed in the API?
|
I've wrote something that gets more granular data and it's used for "Search Nearby," but we don't store it anywhere else yet and thus can't serve it in the API. I'm working on making use of it elsewhere in the site and will expose it in the API.
For those curious, to get granular location data I make guesses of what a team's location could be by combining city/state/zip/country with different parts of a team's full name (which usually starts or ends with the high school or title sponsor), hitting Google's Maps API to check for validity, and then making sure the results Google gives back have the same city, state, zip, etc. as what FIRST says the team's location is. Then the best result is normalized (To fix CA vs. California, typos in FIRST's database, etc.) by hitting Google again.
TLDR: Yes TBA will expose an API for detailed street-level addresses for most teams. Hopefully within the month.