|
||||||||||||
REAL-TIME VISITOR API
JAVASCRIPT IP GEO LOCATION API
You can display a friendly message to your visitors based on their IP
location by using this API. This API is free to use but you will need to
register first to get your API key. You will immediately get 1000 free
credits when you activate your account. 1 credit will be deducted each
time that this API is loaded. To get more credits, all you have to do is
display the IPLocationTools banner in your web site. Each time you
display the banner, your credits will be incremented by 1.
To start using this IP Address API, you need to include codes below into your page.
<script language="JavaScript" src="http://www.iplocationtools.com/iplocationtools.js?key=YOUR_API_KEY"></script>
Below is the functions available: Country Flag -
ip2location_country_flag();
Country Name (Short) - ID
ip2location_country_short();
Country Name (Long) - INDONESIA
ip2location_country_long();
Region - BALI
ip2location_region();
City - DENPASAR
ip2location_city();
Latitude - -8.65
ip2location_latitude();
Longitude - 115.21667
ip2location_longitude();
ZIP Code - -
ip2location_zip_code();
Time Zone - +08:00
ip2location_time_zone();
ISP (Internet Service Provider / Company) - PT TELKOM INDONESIA
ip2location_isp();
Domain - TELKOM.CO.ID
ip2location_domain();
Net Speed - DSL
ip2location_net_speed();
IDD Code - 62
ip2location_idd_code();
Area Code - -
ip2location_area_code();
Weather Station Code - IDXX0019
ip2location_weather_station_code();
Weather Station Name - DENPASAR
ip2location_weather_station_name();
Show IPLocationTools Banner to earn Credits
ip2location_banner();
ip2location_banner1();
ip2location_banner2();
* You MUST call this function to display our banner to prevent your credits from running out. |
|
Rabu, 30 Januari 2013
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar