webdev #python #javascript #maps #api #geolocation #golf #rapidapi #showhn

A recent Show HN project mapped every US golf course—16,000+ of them, free, no signup. That is a goldmine for anyone building a golf app, travel planner, or local discovery map. But a map full of pins is only useful if you know where the user is.

Instead of asking users to type in a ZIP code, you can auto-locate them from their IP address and immediately suggest nearby courses. In this post, I’ll show you how to wire the IP Geolocation API (RapidAPI, GitHub) to a golf-course dataset so your app can say:

“You’re in Scottsdale, AZ. Here are the 5 closest golf courses.”

What we are building