Skip to content

Commit d2d5b0d

Browse files
author
Usman Liaqat
committed
ipgeolocation.io API usage example updated
1 parent 9ae5754 commit d2d5b0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[IPGeolocation API](https://ipgeolocation.io) is the solution to identify country code (ISO2 and ISO3 standard), country name, continent code, continent name, country capital, state/province, district, city, zip code, latitude and longitude of city, is country belongs to Europian Union, calling code, top level domain (TLD), languages, country flag, internet service provider (ISP), connection type, organization, geoname ID, currency code, currency name, time zone ID, time zone offset, current time in the time zone, is time zone in daylight saving time, and total daylight savings. This document provides important information to help you get up to speed with IPGeolocation API using IP Geolocation API JQuery SDK.
66

7-
**Note:** This SDK is compatible with Vanilla JS and doesn't require JQuery as we have dropped the JQuery dependencies from v1.1.1 in this SDK.
7+
**Note:** This SDK is compatible with Vanilla JS and doesn't require JQuery as we have dropped the JQuery dependencies from v1.1.2 in this SDK.
88

99
Developers can use this JQuery SDK for software and web projects related to, but not limited to:
1010

@@ -36,7 +36,7 @@ Use the following URL to visit documentation
3636
Add the following script in your HTML page:
3737

3838
```html
39-
<script src="https://cdn.jsdelivr.net/npm/ip-geolocation-api-jquery-sdk@1.1.1/ipgeolocation.min.js"></script>
39+
<script src="https://cdn.jsdelivr.net/npm/ip-geolocation-api-jquery-sdk@1.1.2/ipgeolocation.min.js"></script>
4040
```
4141

4242
## Geolocation Lookup
@@ -79,7 +79,7 @@ _ipgeolocation.getGeolocation(handleResponse, "YOUR_API_KEY");
7979
// Get the specified geolocaiton fields like "country_code2,time_zone,currency" for an IP address "1.1.1.1" and skip the "ip" field in the response
8080
_ipgeolocation.setFields("geo,time_zone,currency");
8181
_ipgeolocation.setIPAddress("1.1.1.1");
82-
_ipgeolocation.setExcludes("ip");
82+
_ipgeolocation.setExcludes("country_code2");
8383
_ipgeolocation.getGeolocation(handleResponse, "YOUR_API_KEY");
8484

8585
// Get geolocation along with hostname, security detail and user-agent detail.

0 commit comments

Comments
 (0)