/IP-Geolocation

Free IP Geolocation

Primary LanguagePythonMIT LicenseMIT

Locate and identify by IP or Domin

Get your free API key here and replace it in the code or use my key :)

Usage:

  • pip install -r requirements.txt or pip3 install -r requirements.txt
  • python3 ip.py

Examples:

Examples ip geolocation tols

$ python3 ip.py


████▄    ▄   ▄█ ████▄    ▄
█   █     █  ██ █   █     █
█   █ ██   █ ██ █   █ ██   █
▀████ █ █  █ ▐█ ▀████ █ █  █
      █  █ █  ▐ oNion █  █ █
      █   ██          █   ██ IP Geolocation

[+] youre ip:
* IP Address : 151.232.192.113
* country : Iran, Islamic Republic of

[>] IP Geolocation [IP or Q]
>> google.com

        ______________________
        |IP:                  ipv6 2607:f8b0:4004:829::200e 
        |Continent:           NA North America
        |Country:             US United States
        |Region:              VA Virginia
        |City:                Herndon
        |latitude:            38.98371887207031
        |longitude:           -77.38275909423828
        |Capital:             Washington D.C.
        |language:            en English
        |calling code:        1
        |Flag photo link:     http://assets.ipstack.com/flags/us.svg
        -----------------------
        
[>] IP Geolocation [IP or Q]
>> 1.1.1.1

        ______________________
        |IP:                  ipv4 1.1.1.1 
        |Continent:           AS Asia
        |Country:             TH Thailand
        |Region:              30 Nakhon Ratchasima
        |City:                Nakhon Ratchasima
        |latitude:            14.970279693603516
        |longitude:           102.10360717773438
        |Capital:             Bangkok
        |language:            th Thai
        |calling code:        66
        |Flag photo link:     http://assets.ipstack.com/flags/th.svg
        -----------------------
        
[>] IP Geolocation [IP or Q]
>> q
[!] EXIT!