Skip to content
Advertisement

How to get location of server based on IP address in Python [closed]

Can we program (probably in python) to get the server location from where we are accessing the webpage.

P.S. Its just for fun and to get in-depth knowledge.

Advertisement

Answer

This is an example of fetching server location using one of the APIs.

There are many others site options such as keycdn, iplocation and more.

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement