Skip to main content

ip information gathering.

Project description

KAMABAY WHOIS

URL https://github.com/ExsoKamabay/ipwhois

Simple Example

>>> from ipwhois import ipwhois
>>>
>>> ipwhois('0') # zero string default local IP
{
"asn":"AS4818",
"city": "Batu Pahat",
"completed_requests": 2,
"continent": "Asia",
"continent_code": "AS",
"country": "Malaysia",
"country_capital": "Kuala Lumpur",
"country_code": "MY",
"country_flag": "https://cdn.ipwhois.io/flags/my.svg",
"country_neighbours": "BN,TH,ID",
"country_phone": "+60",
"currency": "Malaysian Ringgit",
"currency_code": "MYR",
"currency_plural": "Malaysian ringgits",
"currency_rates": "4.146",
"currency_symbol": "RM",
"ip": "115.164.173.247",
"isp": "DiGi Telecommunications Sdn Bhd., Digi Internet Exchange",
"latitude": "1.849442",
"longitude": "102.9288341",
"org": "DiGi Telecommunications Sdn Bhd., Digi Internet Exchange",
"region": "Johor",\n  "success": true,
"timezone": "Asia/Kuala_Lumpur",
"timezone_dstOffset": "0",
"timezone_gmt": "GMT +8:00",
"timezone_gmtOffset": "28800",
"timezone_name": "Malaysia Time",
"type": "IPv4",
}

Command line type ipwhois

@copyright 21052021

mail lexyong66@gmail.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kamabay-ipwhois-0.1.0.tar.gz (6.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page