we can easily find our current address using simple steps. In this project, i am using python language.
we need requests module
if you already install or preinstall requests module then you directly import this module.
if you don't have requests module then you need to install this module using "pip"
pip install requests
sudo pip install requests
import requests
def get_location():
data=requests.get("http://ip-api.com/json/").json()
return data
if name=="main":
print(get_location())
if you find any error and suggestion please tag me....