Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Geo-location based on IP address

  • This script can be used to obtain the latitude and longitude from where a particular IP address originates
  • The API from https://ip-api.com/ has been used for the same

Usage

  • Requirements

    • pip install requests
  • Considering a example

Image

  • The latitude and longitude will be obtained on running the script
  • The user is prompted to enter the IP address

Image

  • If a location corresponding to an IP address is non-existent a suitable callback message is displayed

Image