Created
July 3, 2019 08:33
-
-
Save ahmadawais/df1b58e679fd073191e86b08cecf1900 to your computer and use it in GitHub Desktop.
IPAPI.com Example for https://ahmadawais.com/best-api-geolocating-an-ip-address/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ip": "119.155.50.57", | |
"type": "ipv4", | |
"continent_code": "AS", | |
"continent_name": "Asia", | |
"country_code": "PK", | |
"country_name": "Pakistan", | |
"region_code": "05", | |
"region_name": "Sindh", | |
"city": "Karachi", | |
"zip": "74000", | |
"latitude": 24.882999420166016, | |
"longitude": 67.05799865722656, | |
"location": { | |
"geoname_id": 1174872, | |
"capital": "Islamabad", | |
"languages": [ | |
{ | |
"code": "en", | |
"name": "English", | |
"native": "English" | |
}, | |
{ | |
"code": "ur", | |
"name": "Urdu", | |
"native": "اردو", | |
"rtl": 1 | |
} | |
], | |
"country_flag": "http://assets.ipapi.com/flags/pk.svg", | |
"country_flag_emoji": "🇵🇰", | |
"country_flag_emoji_unicode": "U+1F1F5 U+1F1F0", | |
"calling_code": "92", | |
"is_eu": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment