awsを利用して本を検索するコードを作りながらのメモ

aws : amazon web service
ecs : e commerce service

ECSは4.0になっている

Amazon E-Commerce Service (Amazon ECS) released a major update to its web service API in October 2004. As part of the release, the name was formally changed from Amazon Web Services 3.0 to Amazon E-Commerce Service 4.0, or just Amazon ECS, as Amazon ECS is now one of the many web services offered by Amazon Web Services.
Last Update: Fri Mar 16 11:32:01 PDT 2007


次どこにリクエスト投げればいいか。

まずはRESTリクエストで問い合わせする先のAmazonWEBサービスのURL
Amazon.co.jp http://webservices.amazon.co.jp/onca/xml?
JPベータ版 http://aws-beta.amazon.co.jp/onca/xml?
Amazon.com http://webservices.amazon.com/onca/xml?

うえのリストってどうやったら分かるのか調査中。
直接の答えじゃないけど、選択して値入れていけば、awsへリクエストしてくれるサービスがあった。webinterfaceが用意されてる。
下記ツールを使ってrequest投げてみて、そのURLを見ればいいかと思った。

AWSzone.com
A playground for AWS developers. Easily create REST or SOAP requests, generate code samples, and more.


やっとリファレンス見つけた。
http://docs.amazonwebservices.com/AWSEcommerceService/2007-02-22/


で、とりあえずURL組み立てたのでメモ
http://ecs.amazonaws.jp/onca/xml?Service=AWSECommerceService&AWSAccessKeyId=9999999999999&Operation=ItemLookup&SearchIndex=Books&IdType=ISBN&ItemId=9784004310013