Emergency Pub

Learn how to find a pub near geolocation.

What if you want to make an application to help people find the nearest pub from where they are currently? Now that you know their location from the IP address they’re using in their browser, it should be easy enough, right?

We have downloaded a list of pubs from the UK; we’re going to use an IP address that should be in the UK too. Let’s assume www.ox.ac.uk has the address

Geolocation of an IP address

Knowing that we can search the geolocation of this IP address:

Get hands-on with 1200+ tech skills courses.