- 2008 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2007 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2006 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2005 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2004 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2003 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2002 : 01 02 03 04 05 06 07 08 09 10 11 12
2006-01-22
hostip.info - IPアドレスから国名や緯度,経度を取得するWebサービスAPI
- Summary
hostip.infoのAPIを使ってIPアドレスから国名,緯度,経度を取得可能.
- アクセス元の国名を取得する.
http://api.hostip.info/country.php
- Reference
Using the Database - IP Address Lookup - Community Geotarget IP Addresses Project
http://www.hostip.info/use.html
- via
phpspot開発日誌 - 2006-01-20 - IPアドレスから国名や経緯度を得る方法
http://phpspot.org/blog/archives/2006/01/ip.html
オレンジニュース - 2006-01-20
http://secure.ddo.jp/~kaku/tdiary/20060120.html#p10
hostip.infoのAPIを使ってIPアドレスから国名,緯度,経度を取得可能.
- アクセス元の国名を取得する.
http://api.hostip.info/country.php
JP
- 指定したIPアドレスの国情報を取得する
http://api.hostip.info/get_html.php?ip=12.215.42.19
Country: UNITED STATES (US)
City: Sugar Grove, IL
- 指定したIPアドレスの国情報を取得する (緯度,経度付)
http://api.hostip.info/get_html.php?ip=12.215.42.19&position=true
Country: UNITED STATES (US)
City: Sugar Grove, IL
Latitude: 41.7696
Longitude: -88.4588
- XMLで取得する
http://api.hostip.info/?ip=12.215.42.19
<HostipLookupResultSet version="1.0.0" xmlns="http://www.hostip.info/api" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.hostip.info/api/hostip-1.0.0.xsd" > <gml:description> This is the Hostip Lookup Service </gml:description> <gml:name> hostip </gml:name> <gml:boundedBy> <gml:Null> inapplicable </gml:Null> </gml:boundedBy> <gml:featureMember> <Hostip> <gml:name> Sugar Grove, IL </gml:name> <countryName> UNITED STATES </countryName> <countryAbbrev> US </countryAbbrev> <!-- Co-ordinates are available as lng,lat --> <ipLocation> <gml:PointProperty> <gml:Point srsName="http://www.opengis.net/gml/srs/epsg.xml#4326"> <gml:coordinates> -88.4588,41.7696 </gml:coordinates> </gml:Point> </gml:PointProperty> </ipLocation> </Hostip> </gml:featureMember> </HostipLookupResultSet>
- Reference
Using the Database - IP Address Lookup - Community Geotarget IP Addresses Project
http://www.hostip.info/use.html
- via
phpspot開発日誌 - 2006-01-20 - IPアドレスから国名や経緯度を得る方法
http://phpspot.org/blog/archives/2006/01/ip.html
オレンジニュース - 2006-01-20
http://secure.ddo.jp/~kaku/tdiary/20060120.html#p10
- 2008 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2007 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2006 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2005 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2004 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2003 : 01 02 03 04 05 06 07 08 09 10 11 12
- 2002 : 01 02 03 04 05 06 07 08 09 10 11 12
2006-01 /