<filename>core/geoip.py
#!/usr/bin/python3
import sys
from requests import get
def geo(ip):
	response = get('https://api.hackertarget.com/geoip/?q=' + ip).text
	print(response,"\n")

<filename>core/geoip.py
#!/usr/bin/python3
import sys
from requests import get
def geo(ip):
	response = get('https://api.hackertarget.com/geoip/?q=' + ip).text
	print(response,"\n")

#!/usr/bin/python3