Geo Location 1

Sat 17 May 2025

title: "Geo Location 1" author: "Rj" date: 2019-04-20 description: "-" type: technical_note draft: false


import requests
import json 
send_url = 'http://api.ipstack.com/50.100.30.136?access_key=49ad529d309a09477749245782d260b8&format=1'
r = requests.get(send_url)
j = json.loads(r.text)

lat = j['latitude']
lon = j['longitude']
print(lat)
print(lon)
43.6909
-79.3098


Score: 5

Category: basics