Skip to content

codingloverss/Find_Address_by_Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Find Geo Location using python

we can easily find our current address using simple steps. In this project, i am using python language.

step 1:-

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"

windows users:-

pip install requests

linux users:-

sudo pip install requests

step 2:-

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....

About

we can easily find our current address using simple steps. In this project, i am using python language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages