ACTIVE Network API Developer Blog
Tips & Tricks: Golf Tee Times API courses by location
Want to show golf courses by locations? Here is a quick tip to help you implement this in your application. ActiveGolf.com loads up all golf clubs (locations), and then based on user-selected city, we take the latitude/longitude from the center of the city and calculate the distance to each golf course (in memory) and finally take out the ones that are more than 50 miles (or so) from that. With the data we expose, plus your own database of cities/zip codes you should be able to do this on your end. Since we have purchased our city/zipcode database and aren't allowed to expose it, but you can purchase your own data here (if needed): http://zipcodedownload.com
Hope this helps! Let us know what other issues you've come across and we'll try to provide some tips about how to improve your API implementation. Leave a comment below.
0 Comments
Please sign in to post a comment.