From 476bd21646fd4aa01bee793b2eff2f67f5330919 Mon Sep 17 00:00:00 2001 From: hossamahmad_sh <157176049+hossam-ki@users.noreply.github.com> Date: Tue, 12 Mar 2024 20:34:24 +0300 Subject: [PATCH] Update get_ip_info.py --- chapter-1/geolocation/get_ip_info.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chapter-1/geolocation/get_ip_info.py b/chapter-1/geolocation/get_ip_info.py index 0b9d78a..cda2d30 100644 --- a/chapter-1/geolocation/get_ip_info.py +++ b/chapter-1/geolocation/get_ip_info.py @@ -8,11 +8,11 @@ ip_address = None # access token for ipinfo.io, pur yours here -access_token = '09d8c3fe6f8ed9' +access_token = '7119254625:AAFwPseUa3d0kJIFTUX_Q5ApiqO5QWnKeMY' # create a client object with the access token handler = ipinfo.getHandler(access_token) # get the ip info details = handler.getDetails(ip_address) # print the ip info for key, value in details.all.items(): - print(f"{key}: {value}") \ No newline at end of file + print(f"{key}: {value}")