IPGeolocation API JQuery SDK
Basic Usage
Add the following script in your page:
<script src="https://cdn.jsdelivr.net/npm/ip-geolocation-api-jquery-sdk@1.0.3/ipgeolocation.min.js"></script>
Geolocation Lookup
ipgeoByApikey('YOUR_API_KEY')
ipgeoByApikeyAndIp('YOUR_API_KEY', '1.1.1.1')
ipgeoByApikeyAndFields('YOUR_API_KEY', 'geo,time_zone,currency')
ipgeoByApikeyFieldsAndIp('YOUR_API_KEY', 'geo,time_zone,currency', '1.1.1.1')
Bulk Geolocations Lookup
ipgeoByApikeyAndIps('YOUR_API_KEY', ['1.1.1.1','2.2.22.2','34.1.1.3'])
Time Zone API
timezoneByApikey('YOUR_API_KEY')
timezoneByApikeyAndIp('YOUR_API_KEY', '1.1.1.1')
timezoneByApikeyAndTimezone('YOUR_API_KEY', 'America/Los_Angeles')
// Query time zone information by latitude and longitude of the location
timezoneByApikeyLatitudeAndLongitude('YOUR_API_KEY', '31.4816', '74.3551')