AWS
今までWebサービスでどうのこうの、ってのはぜんぜん触ってなかったんだけど、ちょっとやってみた。
PyAWSでAmzonの商品を検索を参考に、
import sys import codecs from pyaws import ecs sys.stdout = codecs.getwriter('cp932')(sys.stdout) ecs.setLicenseKey('...') ecs.setLocale('jp') bags = ecs.ItemLookup( ItemId='9784798111124', IdType='ISBN', SearchIndex='Books', ResponseGroup='Medium') for bag in bags: print bag.Title print bag.Author print bag.ListPrice.Amount print bag.Publisher
これを実行した結果がこれ。
オブジェクト指向入門 第2版 方法論・実践 (IT Architects’Archive CLASSIC MODER) バートランド・メイヤー 7140 翔泳社 2008-08-29
おぉー