![]() ![]() This method returns the web service credit balance in an object.Īddon := "continent,country,region,city,geotargeting,country_groupings,time_zone_info" // leave blank if no need ![]() ![]() This method returns an object containing the geolocation untry_codecountry_nameregion_namecity_namelatitudelongitudezip_codetime_zoneispdomainnet_speedidd_codearea_codeweather_station_codeweather_station_namemccmncmobile_brandelevationusage_typeaddress_typecategorycontinentnamecodehemispheretranslationscountrynamealpha3_codenumeric_codedemonymflagcapitaltotal_areapopulationcurrencycodenamesymbollanguagecodenameidd_codetldis_eutranslationsregionnamecodetranslationscitynametranslationsgeotargetingmetrocountry_groupingstime_zone_infoolsoncurrent_timegmt_offsetis_dstsunrisesunset QUERY USING THE IP2LOCATION WEB SERVICE Methodsģ input parameters:IP2Location API Key.Package (WS1 - WS25)Use HTTPS or HTTP Returns the geolocation information in an object.ĭb, err := ip2location.OpenDB("./IP-COUNTRY-REGION-CITY-LATITUDE-LONGITUDE-ZIPCODE-TIMEZONE-ISP-DOMAIN-NETSPEED-AREACODE-WEATHER-MOBILE-ELEVATION-USAGETYPE-ADDRESSTYPE-CATEGORY.BIN")įmt.Printf("country_short: %s\n", results.Country_short)įmt.Printf("country_long: %s\n", results.Country_long)įmt.Printf("region: %s\n", results.Region)įmt.Printf("latitude: %f\n", results.Latitude)įmt.Printf("longitude: %f\n", results.Longitude)įmt.Printf("domain: %s\n", results.Domain)įmt.Printf("zipcode: %s\n", results.Zipcode)įmt.Printf("timezone: %s\n", results.Timezone)įmt.Printf("netspeed: %s\n", results.Netspeed)įmt.Printf("iddcode: %s\n", results.Iddcode)įmt.Printf("areacode: %s\n", results.Areacode)įmt.Printf("weatherstationcode: %s\n", results.Weatherstationcode)įmt.Printf("weatherstationname: %s\n", results.Weatherstationname)įmt.Printf("mobilebrand: %s\n", results.Mobilebrand)įmt.Printf("elevation: %f\n", results.Elevation)įmt.Printf("usagetype: %s\n", results.Usagetype)įmt.Printf("addresstype: %s\n", results.Addresstype)įmt.Printf("category: %s\n", results.Category)įmt.Printf("api version: %s\n", ip2location.Api_version()) Initialize the package with the BIN file. Methodsīelow are the methods supported in this package. Use the IPv6 BIN file if you need to query BOTH IPv4 and IPv6 addresses. Use the IPv4 BIN file if you just need to query IPv4 addresses. IP2Location Commercial BIN Data (Comprehensive):.This package requires IP2Location BIN data file to function. Installation go get /ip2location/ip2location-go/v9 If you don't have an existing API key, you can subscribe for one at the below: The paid databases are available at under Premium subscription package.Īs an alternative, this package can also call the IP2Location Web Service. Free LITE databases are available at upon registration. The database will be updated in monthly basis for the greater accuracy. prevent password sharing and abuse of service.analyze your web server logs to determine the countries of your visitors.select the geographically closest mirror.This package can be used in many types of projects such as: It supports both IP address in IPv4 and IPv6. This database simply contains IP blocks as keys, and other information such as country, region, city, latitude, longitude, ZIP code, time zone, ISP, domain name, connection type, IDD code, area code, weather station code, station name, mcc, mnc, mobile brand, elevation, usage type, address type and IAB category as values. This package uses a file based database available at. ABC Amber Conversion and Merg.This Go package provides a fast lookup of country, region, city, latitude, longitude, ZIP code, time zone, ISP, domain name, connection type, IDD code, area code, weather station code, station name, mcc, mnc, mobile brand, elevation, usage type, address type and IAB category from IP address by using IP2Location database.a lowly apprentice production ( search).# a b c d e f g h i j k l m n o p q r s t u v w x y z By clicking the vendor's name, you can see more details about the vendor and also have a list of the vendor's products on our web pages. Use the following list to browse through our list of vendors. From our selection, you can find a wide range of solutions for many different software needs. The following list shows a selection of our best-known vendors. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |