Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python get ip info

import requests

# get your current public ip's info:
req = requests.get('https://utilities.tk/network/info')

# or specify an ip to check
req = requests.get('https://utilities.tk/network/info?ip=1.1.1.1')

print(req.status_code)
print(req.json())
Source by github.com #
 
PREVIOUS NEXT
Tagged: #python #ip #info
ADD COMMENT
Topic
Name
7+3 =