newtonsart / lookart-ip

Powerfull python module to lookup IPs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lookart-ip

Powerfull python module to lookup IPs.

It can provide:

-city       Returns the name of the city
-region       Returns the name of the region
-region_code      Returns the code of the region
-country      Returns the code of the country
-country_name       Returns the name of the country
-continent_code      Returns the code of the continent
-in_eu      Returns a boolean value if its in Europe or if it is not
-postal      Returns the postal code
-latitude       Returns the latitude
-longitude      Returns the longitude
-latlong      Returns the latitude and longitude separated with a ","
-timezone       Returns the timezone of the region
-utc_offset       Returns the difference of hours and minutes from utc
-country_calling_code      Returns the calling code of that country 
-currency       Returns the currency of that country
-languages       Returns the languages used in that country
-asn      Returns the asn code
-org      Returns the ISP or the organisation using that ip
-all      Returns all the info in a dictionary

setup:

pip install requests

Built with

  • Python 3 - The language used.
  • Python modules used: requests, json.

Authors

About

Powerfull python module to lookup IPs.


Languages

Language:Python 100.0%