alaskagogl.blogg.se

Ip2location web service free
Ip2location web service free





ip2location web service free
  1. #Ip2location web service free code#
  2. #Ip2location web service free iso#
  3. #Ip2location web service free zip#
  4. #Ip2location web service free free#

By simply submitting a query string and a set of parameters to the IP2Location™ Web APIs service, you will receive a search result in return. IP2Location™ IP-Country web service provides the service to do a reverse lookup of an IP address to ISO3166 country code. It also enables web master to implement digital rights management (DCM) with the purpose to control the users' access to movies, music, software, literature and other forms of digital data by location. Web master can use the location information to customize and localize the content of their websites such as redirecting the visitors to appropriate web pages based on their country and location. 2, 2012 - PRLog - IP2Location™ provides geolocation database product that allow web sites to determine and pinpoint geo location data of the online users by IP address.

ip2location web service free

get( "country_name") != null) ? myresult. get( "country_code") != null) ? myresult. IP2LocationWebService ws = new IP2LocationWebService() Returns time zones, DST, GMT offset, sunrise and sunset.

#Ip2location web service free code#

Returns metro code based on the ZIP/postal code. Returns region code, name and translations. Returns country codes, country name, flag, capital, total area, population, currency info, language info, IDD, TLD and translations. Returns continent code, name, hemispheres and translations. This method returns the web service credit balance in a JsonObject.īelow are the Addons supported in this class. IPQuery(String IPAddress, String AddOns, String Language) Query IP address and translation language. IPQuery(String IPAddress, String Language) Open(String APIKey, String Package, boolean UseSSL) } QUERY USING THE IP2LOCATION IP GEOLOCATION WEB SERVICE Methods println( "This BIN does not contain IPv6 data.") println( "Invalid database path.") Įlse if ( "IPV6_NOT_SUPPORTED". println( "Invalid IP address.") Įlse if ( "MISSING_FILE". println( "IP address cannot be blank.") Įlse if ( "INVALID_IP_ADDRESS". IPQuery( ip) Įlse if ( "EMPTY_IP_ADDRESS". this is to initialize with a byte array // Path binpath = Paths.get(binfile) // byte binFileBytes = Files.readAllBytes(binpath) // loc.Open(binFileBytes) IPResult rec = loc. this is to initialize with a BIN file loc. String binfile = "/usr/data/IP-COUNTRY-REGION-CITY-LATITUDE-LONGITUDE-ZIPCODE-TIMEZONE-ISP-DOMAIN-NETSPEED-AREACODE-WEATHER-MOBILE-ELEVATION-USAGETYPE-ADDRESSTYPE-CATEGORY.BIN" The IP address does not exists in the BIN file. The BIN file path is wrong or the BIN file is unreadable. The query has been successfully performed. These categories are comprised of Tier-1 and Tier-2 (if available) level categories widely used in services like advertising, Internet security and filtering appliances. The domain category is based on IAB Tech Lab Content Taxonomy. IP address types as defined in Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6). Usage type classification of ISP or company:

ip2location web service free

Name of the nearest weather observation station.Īverage height of city above sea level in meters (m). Special code to identify the nearest weather observation station. The IDD prefix to call the city from another country.Ī varying length number assigned to geographic areas for call between cities. Time zone in UTC (Coordinated Universal Time).ĭomain name associated to IP address range.

#Ip2location web service free iso#

Two-character country code based on ISO 3166. This method returns results in object.īelow are the result methods.

ip2location web service free

Initialize the component with the byte array containing the BIN file data. Initialize the component and preload the BIN file. It is set to false by default.īelow are the methods supported in this class. This will increase query speed but require more memory. Set to true to enable memory mapped file feature. Jar cf ip2location.jar com/ip2location/ *.class QUERY USING THE BIN FILE Parametersīelow are the parameters to set before using this class. If you don't have an existing API key, you can subscribe for one at the below:

  • Commercial IP2Location IP Geolocation BIN Data: Īs an alternative, this IP Geolocation Java component can also call the IP2Location Web Service.
  • #Ip2location web service free free#

  • Free IP2Location IP Geolocation BIN Data:.
  • It lookup the IP address from IP2Location BIN Data file.

    #Ip2location web service free zip#

    In addition, users can also determine extra useful geolocation information such as latitude, longitude, ZIP code, domain name, time zone, connection speed, IDD code, area code, weather station code, weather station name, MCC, MNC, mobile brand name, elevation, usage type, address type & IAB category. This IP Geolocation Java component allows user to query an IP address for info such as the visitor’s country, region, city, ISP or company name. IP2Location IP Geolocation Java Component







    Ip2location web service free