![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
ip-location-api-jquery-sdk
Advanced tools
[JQuery SDK for IP Location API](https://ipwhois.io/documentation). You can use this SDK to Geolocate an IP address.
IP Geolocation API provides country, city, region, local currency, latitude and longitude, company detail, ISP lookup, country calling code, timezone, country neighbours, country flag, country capital and much more from any IPv4 and IPv6 address in Newline, JSON and XML format over HTTPS. This document provides important information to help you get up to speed with IP Location API using IP Geolocation API JQuery SDK.
You can call the API by sending HTTP GET requests to http://free.ipwhois.io/json/{IP}
{IP}
can be an IPv4 or IPv6 address, or none to use the current IP address.
Note: Complete documentation to use this API is also available at IP Geolocation API Documentation.
Internet connection is required to run this component.
Call method request_ipwhois($ip, $lang)
passing IP address or none to use the current IP address as parameters (rest of the parameters are optional) and it will return the Geolocation for the passed IP address. To customize the geolocation response, you can pass the other parameters to request_ipwhois()
method as described below:
$lang
Pass the language parameter to get the geolocation information in a language other than English. By default, it is set to English language.Add the following script in your HTML page:
<script src="https://cdn.ipwhois.io/js/ipwhois.js"></script>
Here is a sample code to use IP Geolocation API using JQuery SDK:
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdn.ipwhois.io/js/ipwhois.js"></script>
<script>
$(document).ready(function() {
var ipaddress = "";
var ipwhois = request_ipwhois(ipaddress);
alert("Country: " + ipwhois.country);
alert("City: " + ipwhois.city);
alert("Region: " + ipwhois.region);
});
</script>
FAQs
[JQuery SDK for IP Location API](https://ipwhois.io/documentation). You can use this SDK to Geolocate an IP address.
The npm package ip-location-api-jquery-sdk receives a total of 0 weekly downloads. As such, ip-location-api-jquery-sdk popularity was classified as not popular.
We found that ip-location-api-jquery-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.