memo.xight.org

Home > Changelogメモ > WebService > 2ページ目 (全2ページ)
ChangeLog 最新ページ / カテゴリ最新ページ / 前ページ 1 2 / 2ページ目 (全2ページ)
2008-09 / 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

2006-02-11 Sat

Weather Hacks - livedoorによる天気情報 Webサービス

- Summary
Perl からは WebService::Livedoor::Weather
PHP からは Services/Livedoor/Weather で利用できる.

地震,津波,火山,警報・注意報なども RSS 配信している.

- Reference
Weather Hacks - livedoor 天気情報
http://weather.livedoor.com/weather_hacks/
お天気Webサービス仕様 - Weather Hacks - livedoor 天気情報
http://weather.livedoor.com/weather_hacks/webservice.html
RSSフィード一覧 - Weather Hacks - livedoor 天気情報
http://weather.livedoor.com/weather_hacks/rss_feed_list.html#bousai

p4lifeのメモ - PHP で Livedoor のお天気Webサービスを使う
http://d.hatena.ne.jp/p4life/20060210/1139512547
blog.nomadscafe.jp - WebService::Livedoor::Weather
http://blog.nomadscafe.jp/archives/000603.html

カテゴリ: [WebService]

2006-01-22 Sun

hostip.info - IPアドレスから国名や緯度,経度を取得するWebサービスAPI

- Summary
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

カテゴリ: [位置情報][WebService]
内部リンク: [2006-06-29-1]
2008-09 / 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
最終更新時間: 2008-09-05 14:14

Color Reference

ChangeLogを検索
携帯電話からアクセス!

カテゴリ

最近の話題

リンク

過去ログ

Google

QR Code

Since
2002-11-28
Update
2008-09-05 14:14
Copyright © 2005 xight.org All Rights Reserved.