▼ 2009/06/24(水) rubyでamazonからISBNを検索
2009/06/24 28:58 【研究課題】
■ インストールと設定
まずはライブラリをインストール。> gem install ruby-aawsで、実行ディレクトリに、「.amazonrc」という名称で以下の内容のファイルを作成。
実行ディレクトリにキャッシュファイルを作成する設定になっている。
[global] key_id = 'YOURACCESSKEYSTRING' secret_key_id = 'YOURSECREDKEYIDSTRINGXXXXXXXXXX' associate = 'YOURASSOCIATEIDSTRING' locale = jp cache = true cache_dir = .
■ サンプルコード作成
適当な名前で以下のコードを作成し、引数に13桁のISBNを指定してキックしてやる。# 事前に > gem install ruby-aaws を実行します。 require 'amazon/aws' require 'amazon/aws/search' isbn = ARGV.shift # 第一引数からISBNを取得 # 設定ファイルのデフォルトは /etc/amazonrc か ~/.amazonrc # それ以外の場所に設定をおきたい場合は、以下の環境変数を変更する。 ENV['AMAZONRCDIR'] = '.' # 設定ファイルの位置を変えるときはこれ # ENV['AMAZONRCFILE'] = 'amazonrc' # 設定ファイルの名称を変えるときはこれ begin # il = Amazon::AWS::ItemLookup.new('ASIN', {'ItemId' => '4063142450'} ) # ASIN指定の場合 # il = Amazon::AWS::ItemLookup.new('ISBN',{'ItemId' => isbn}), # ISBNだけどerror パラメータが足りない # il = Amazon::AWS::ItemLookup.new('ISBN',{'ItemId' => '9784797340045','SearchIndex' => 'Books'}) # 間違ったISBNで検索 il = Amazon::AWS::ItemLookup.new('ISBN',{'ItemId' => isbn,'SearchIndex' => 'Books'}) rg = Amazon::AWS::ResponseGroup.new( 'Medium' ) req = Amazon::AWS::Search::Request.new() page = req.search(il, rg) puts '===================page Analysis' puts page.class puts '==↑page.class' puts page.methods(false) puts '==↑page.methods(fase)' puts page.inspect puts '==↑page.inspect' puts page.properties puts '==↑page.properties' # puts '===================ItemLookup response' # puts page puts '===================Get ASIN and other data' print "ASIN = ", page.item_lookup_response.items.item.asin ,"\n" print "small_image = ", page.item_lookup_response.items.item.small_image.url,"\n" print "medium_image = ", page.item_lookup_response.items.item.medium_image.url,"\n" print "large_image = ", page.item_lookup_response.items.item.large_image.url,"\n" print "detail_page_url = ",page.item_lookup_response.items.item.detail_page_url,"\n" print "title = ", page.item_lookup_response.items.item.item_attributes.title,"\n" print "publisher = ", page.item_lookup_response.items.item.item_attributes.publisher,"\n" print "author = ", page.item_lookup_response.items.item.item_attributes.author,"\n" rescue SocketError => exp # ソケットエラーが出た場合は10秒待ってから、beginより再実行 print exp.backtrace ,"\n [", exp.message , "]\n" sleep 10 retry rescue => exp print exp.backtrace ,"\n class=", exp.class , "\n [", exp.message , "]\n" endこれで、こんな感じの出力が得られる。
===================page Analysis Amazon::AWS::AWSObject ==↑page.class ==↑page.methods(fase) #<Amazon::AWS::AWSObject:0x48b92c4 @item_lookup_response=[#<Amazon::AWS::AWSObject::ItemLookupResponse:0x48b6a88 @attrib={"xmlns"=>"http://webservices.amazon.com/AWSECommerceService/2009-03-31"}, @operation_request=[#<Amazon::AWS::AWSObject::OperationRequest:0x48b6628 @request_id=[#<Amazon::AWS::AWSObject::RequestId:0x48b5fe8 value="5421b26d-6878-4151-b540-0dde708c5946">], @request_processing_time=[#<Amazon::AWS::AWSObject::RequestProcessingTime:0x48b49a4 value="0.0680920000000000">], @arguments=[#<Amazon::AWS::AWSObject::Arguments:0x48b5e58 @argument=[#<Amazon::AWS::AWSObject::Argument:0x48b5c8c @attrib={"name"=>"Operation", "value"=>"ItemLookup"}>, #<Amazon::AWS::AWSObject::Argument:0x48b5a48 @attrib={"name"=>"Service", "value"=>"AWSECommerceService"}>, #<Amazon::AWS::AWSObject::Argument:0x48b5840 @attrib={"name"=>"AssociateTag", "value"=>"calibanorg-20"}>, #<Amazon::AWS::AWSObject::Argument:0x48b5638 @attrib={"name"=>"Version", "value"=>"2009-03-31"}>, #<Amazon::AWS::AWSObject::Argument:0x48b5430 @attrib={"name"=>"SearchIndex", "value"=>"Books"}>, #<Amazon::AWS::AWSObject::Argument:0x48b5228 @attrib={"name"=>"ItemId", "value"=>"9784797340044"}>, #<Amazon::AWS::AWSObject::Argument:0x48b5020 @attrib={"name"=>"IdType", "value"=>"ISBN"}>, #<Amazon::AWS::AWSObject::Argument:0x48b4e18 @attrib={"name"=>"AWSAccessKeyId", "value"=>"AKIAIIMLO73WZPHFMIQA"}>, #<Amazon::AWS::AWSObject::Argument:0x48b4c10 @attrib={"name"=>"ResponseGroup", "value"=>"Medium"}>]>], @http_headers=[#<Amazon::AWS::AWSObject::HTTPHeaders:0x48b645c @header=[#<Amazon::AWS::AWSObject::Header:0x48b6290 @attrib={"name"=>"UserAgent", "value"=>"Ruby/Amazon/AWS 0.6.0"}>]>]>], @items=[#<Amazon::AWS::AWSObject::Items:0x48b4850 @item=[#<Amazon::AWS::AWSObject::Item:0x48b2f3c @offer_summary=[#<Amazon::AWS::AWSObject::OfferSummary:0x48a9248 @total_collectible=[#<Amazon::AWS::AWSObject::TotalCollectible:0x48a82a8 value="0">], @total_new=[#<Amazon::AWS::AWSObject::TotalNew:0x48a8604 value="1">], @lowest_new_price=[#<Amazon::AWS::AWSObject::LowestNewPrice:0x48a9054 @currency_code=[#<Amazon::AWS::AWSObject::CurrencyCode:0x48a8dd4 value="JPY">], @formatted_price=[#<Amazon::AWS::AWSObject::FormattedPrice:0x48a8ca8 value="\357\277\245 2,940">], @amount=[#<Amazon::AWS::AWSObject::Amount:0x48a8f00 value="2940">]>], @total_refurbished=[#<Amazon::AWS::AWSObject::TotalRefurbished:0x48a8104 value="0">], @total_used=[#<Amazon::AWS::AWSObject::TotalUsed:0x48a844c value="3">], @lowest_used_price=[#<Amazon::AWS::AWSObject::LowestUsedPrice:0x48a8b2c @currency_code=[#<Amazon::AWS::AWSObject::CurrencyCode:0x48a88ac value="JPY">], @formatted_price=[#<Amazon::AWS::AWSObject::FormattedPrice:0x48a8780 value="\357\277\245 2,078">], @amount=[#<Amazon::AWS::AWSObject::Amount:0x48a89d8 value="2078">]>]>], @image_sets=[#<Amazon::AWS::AWSObject::ImageSets:0x48b06b0 @image_set=[#<Amazon::AWS::AWSObject::ImageSet:0x48b04bc @medium_image=[#<Amazon::AWS::AWSObject::MediumImage:0x48aeb44 @width=[#<Amazon::AWS::AWSObject::Width:0x48ae75c value="113", @attrib={"units"=>"pixels"}>], @height=[#<Amazon::AWS::AWSObject::Height:0x48ae914 value="160", @attrib={"units"=>"pixels"}>], @url=[#<Amazon::AWS::AWSObject::URL:0x48aea2c value="http://ecx.images-amazon.com/images/I/41w6qA2x-zL._SL160_.jpg">]>], @attrib={"category"=>"primary"}, @thumbnail_image=[#<Amazon::AWS::AWSObject::ThumbnailImage:0x48af6c0 @width=[#<Amazon::AWS::AWSObject::Width:0x48af2d8 value="53", @attrib={"units"=>"pixels"}>], @height=[#<Amazon::AWS::AWSObject::Height:0x48af490 value="75", @attrib={"units"=>"pixels"}>], @url=[#<Amazon::AWS::AWSObject::URL:0x48af5a8 value="http://ecx.images-amazon.com/images/I/41w6qA2x-zL._SL75_.jpg">]>], @small_image=[#<Amazon::AWS::AWSObject::SmallImage:0x48afcb0 @width=[#<Amazon::AWS::AWSObject::Width:0x48af8c8 value="53", @attrib={"units"=>"pixels"}>], @height=[#<Amazon::AWS::AWSObject::Height:0x48afa80 value="75", @attrib={"units"=>"pixels"}>], @url=[#<Amazon::AWS::AWSObject::URL:0x48afb98 value="http://ecx.images-amazon.com/images/I/41w6qA2x-zL._SL75_.jpg">]>], @large_image=[#<Amazon::AWS::AWSObject::LargeImage:0x48ae5b8 @width=[#<Amazon::AWS::AWSObject::Width:0x48ae1d0 value="354", @attrib={"units"=>"pixels"}>], @height=[#<Amazon::AWS::AWSObject::Height:0x48ae388 value="500", @attrib={"units"=>"pixels"}>], @url=[#<Amazon::AWS::AWSObject::URL:0x48ae4a0 value="http://ecx.images-amazon.com/images/I/41w6qA2x-zL.jpg">]>], @tiny_image=[#<Amazon::AWS::AWSObject::TinyImage:0x48af0bc @width=[#<Amazon::AWS::AWSObject::Width:0x48aecd4 value="78", @attrib={"units"=>"pixels"}>], @height=[#<Amazon::AWS::AWSObject::Height:0x48aee8c value="110", @attrib={"units"=>"pixels"}>], @url=[#<Amazon::AWS::AWSObject::URL:0x48aefa4 value="http://ecx.images-amazon.com/images/I/41w6qA2x-zL._SL110_.jpg">]>], @swatch_image=[#<Amazon::AWS::AWSObject::SwatchImage:0x48b023c @width=[#<Amazon::AWS::AWSObject::Width:0x48afe54 value="21", @attrib={"units"=>"pixels"}>], @height=[#<Amazon::AWS::AWSObject::Height:0x48b000c value="30", @attrib={"units"=>"pixels"}>], @url=[#<Amazon::AWS::AWSObject::URL:0x48b0124 value="http://ecx.images-amazon.com/images/I/41w6qA2x-zL._SL30_.jpg">]>]>, #<Amazon::AWS::AWSObject::ImageSet:0x48ae068 @medium_image=[#<Amazon::AWS::AWSObject::MediumImage:0x48ac894 @width=[#<Amazon::AWS::AWSObject::Width:0x48ac4ac value="113", @attrib={"units"=>"pixels"}>], @height=[#<Amazon::AWS::AWSObject::Height:0x48ac664 value="160", @attrib={"units"=>"pixels"}>], @url=[#<Amazon::AWS::AWSObject::URL:0x48ac77c value="http://ecx.images-amazon.com/images/I/51r9BOHrkUL._SL160_.jpg">]>], @attrib={"category"=>"variant"}, @thumbnail_image=[#<Amazon::AWS::AWSObject::ThumbnailImage:0x48ad398 @width=[#<Amazon::AWS::AWSObject::Width:0x48acfb0 value="53", @attrib={"units"=>"pixels"}>], @height=[#<Amazon::AWS::AWSObject::Height:0x48ad168 value="75", @attrib={"units"=>"pixels"}>], @url=[#<Amazon::AWS::AWSObject::URL:0x48ad280 value="http://ecx.images-amazon.com/images/I/51r9BOHrkUL._SL75_.jpg">]>], @small_image=[#<Amazon::AWS::AWSObject::SmallImage:0x48ad910 @width=[#<Amazon::AWS::AWSObject::Width:0x48ad528 value="53", @attrib={"units"=>"pixels"}>], @height=[#<Amazon::AWS::AWSObject::Height:0x48ad6e0 value="75", @attrib={"units"=>"pixels"}>], @url=[#<Amazon::AWS::AWSObject::URL:0x48ad7f8 value="http://ecx.images-amazon.com/images/I/51r9BOHrkUL._SL75_.jpg">]>], @large_image=[#<Amazon::AWS::AWSObject::LargeImage:0x48ac308 @width=[#<Amazon::AWS::AWSObject::Width:0x48abf20 value="354", @attrib={"units"=>"pixels"}>], @height=[#<Amazon::AWS::AWSObject::Height:0x48ac0d8 value="500", @attrib={"units"=>"pixels"}>], @url=[#<Amazon::AWS::AWSObject::URL:0x48ac1f0 value="http://ecx.images-amazon.com/images/I/51r9BOHrkUL.jpg">]>], @tiny_image=[#<Amazon::AWS::AWSObject::TinyImage:0x48ace0c @width=[#<Amazon::AWS::AWSObject::Width:0x48aca24 value="78", @attrib={"units"=>"pixels"}>], @height=[#<Amazon::AWS::AWSObject::Height:0x48acbdc value="110", @attrib={"units"=>"pixels"}>], @url=[#<Amazon::AWS::AWSObject::URL:0x48accf4 value="http://ecx.images-amazon.com/images/I/51r9BOHrkUL._SL110_.jpg">]>], @swatch_image=[#<Amazon::AWS::AWSObject::SwatchImage:0x48ade9c @width=[#<Amazon::AWS::AWSObject::Width:0x48adab4 value="21", @attrib={"units"=>"pixels"}>], @height=[#<Amazon::AWS::AWSObject::Height:0x48adc6c value="30", @attrib={"units"=>"pixels"}>], @url=[#<Amazon::AWS::AWSObject::URL:0x48add84 value="http://ecx.images-amazon.com/images/I/51r9BOHrkUL._SL30_.jpg">]>]>]>], @sales_rank=[#<Amazon::AWS::AWSObject::SalesRank:0x48b1b50 value="70924">], @medium_image=[#<Amazon::AWS::AWSObject::MediumImage:0x48b12b8 @width=[#<Amazon::AWS::AWSObject::Width:0x48b0ed0 value="113", @attrib={"units"=>"pixels"}>], @height=[#<Amazon::AWS::AWSObject::Height:0x48b1088 value="160", @attrib={"units"=>"pixels"}>], @url=[#<Amazon::AWS::AWSObject::URL:0x48b11a0 value="http://ecx.images-amazon.com/images/I/41w6qA2x-zL._SL160_.jpg">]>], @detail_page_url=[#<Amazon::AWS::AWSObject::DetailPageURL:0x48b2bf4 value="http://www.amazon.co.jp/Ruby%E3%83%AC%E3%82%B7%E3%83%94%E3%83%96%E3%83%83%E3%82%AF-%E7%AC%AC2%E7%89%88-268%E3%81%AE%E6%8A%80-%E9%9D%92%E6%9C%A8-%E5%B3%B0%E9%83%8E/dp/4797340045%3FSubscriptionId%3DAKIAIIMLO73WZPHFMIQA%26tag%3Dcalibanorg-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D4797340045">], @item_attributes=[#<Amazon::AWS::AWSObject::ItemAttributes:0x48abd90 @manufacturer=[#<Amazon::AWS::AWSObject::Manufacturer:0x48aa878 value="\343\202\275\343\203\225\343\203\210\343\203\220\343\203\263\343\202\257 \343\202\257\343\203\252\343\202\250\343\202\244\343\203\206\343\202\243\343\203\226">], @studio=[#<Amazon::AWS::AWSObject::Studio:0x48a9540 value="\343\202\275\343\203\225\343\203\210\343\203\220\343\203\263\343\202\257 \343\202\257\343\203\252\343\202\250\343\202\244\343\203\206\343\202\243\343\203\226">], @publication_date=[#<Amazon::AWS::AWSObject::PublicationDate:0x48a9860 value="2007-02-01">], @list_price=[#<Amazon::AWS::AWSObject::ListPrice:0x48aaecc @currency_code=[#<Amazon::AWS::AWSObject::CurrencyCode:0x48aab5c value="JPY">], @formatted_price=[#<Amazon::AWS::AWSObject::FormattedPrice:0x48aa9b8 value="\357\277\245 2,940">], @amount=[#<Amazon::AWS::AWSObject::Amount:0x48aad00 value="2940">]>], @product_group=[#<Amazon::AWS::AWSObject::ProductGroup:0x48a9bbc value="Book">], @isbn=[#<Amazon::AWS::AWSObject::ISBN:0x48ab214 value="4797340045">], @ean=[#<Amazon::AWS::AWSObject::EAN:0x48ab4f8 value="9784797340044">], @number_ofpages=[#<Amazon::AWS::AWSObject::NumberOfPages:0x48aa6d4 value="480">], @binding=[#<Amazon::AWS::AWSObject::Binding:0x48ab87c value="\345\215\230\350\241\214\346\234\254">], @title=[#<Amazon::AWS::AWSObject::Title:0x48a93b0 value="Ruby\343\203\254\343\202\267\343\203\224\343\203\226\343\203\203\343\202\257 \347\254\2542\347\211\210 268\343\201\256\346\212\200">], @publisher=[#<Amazon::AWS::AWSObject::Publisher:0x48a96d0 value="\343\202\275\343\203\225\343\203\210\343\203\220\343\203\263\343\202\257 \343\202\257\343\203\252\343\202\250\343\202\244\343\203\206\343\202\243\343\203\226">], @product_type_name=[#<Amazon::AWS::AWSObject::ProductTypeName:0x48a9a04 value="ABIS_BOOK">], @label=[#<Amazon::AWS::AWSObject::Label:0x48ab084 value="\343\202\275\343\203\225\343\203\210\343\203\220\343\203\263\343\202\257 \343\202\257\343\203\252\343\202\250\343\202\244\343\203\206\343\202\243\343\203\226">], @author=[#<Amazon::AWS::AWSObject::Author:0x48abbc4 value="\351\235\222\346\234\250 \345\263\260\351\203\216">, #<Amazon::AWS::AWSObject::Author:0x48abaac value="\345\276\214\350\227\244 \350\243\225\350\224\265">, #<Amazon::AWS::AWSObject::Author:0x48ab9d0 value="\351\253\230\346\251\213 \345\276\201\347\276\251">], @edition=[#<Amazon::AWS::AWSObject::Edition:0x48ab368 value="\347\254\2542\347\211\210">], @package_dimensions=[#<Amazon::AWS::AWSObject::PackageDimensions:0x48aa530 @length=[#<Amazon::AWS::AWSObject::Length:0x48aa1ac value="827", @attrib={"units"=>"hundredths-inches"}>], @width=[#<Amazon::AWS::AWSObject::Width:0x48a9dc4 value="614", @attrib={"units"=>"hundredths-inches"}>], @weight=[#<Amazon::AWS::AWSObject::Weight:0x48a9f7c value="141", @attrib={"units"=>"hundredths-pounds"}>], @height=[#<Amazon::AWS::AWSObject::Height:0x48aa3dc value="126", @attrib={"units"=>"hundredths-inches"}>]>], @creator=[#<Amazon::AWS::AWSObject::Creator:0x48ab6ec value="\343\201\276\343\201\244\343\202\202\343\201\250\343\202\206\343\201\215\343\201\262\343\202\215", @attrib={"role"=>"\347\233\243\344\277\256"}>]>], @small_image=[#<Amazon::AWS::AWSObject::SmallImage:0x48b1998 @width=[#<Amazon::AWS::AWSObject::Width:0x48b14c0 value="53", @attrib={"units"=>"pixels"}>], @height=[#<Amazon::AWS::AWSObject::Height:0x48b16f0 value="75", @attrib={"units"=>"pixels"}>], @url=[#<Amazon::AWS::AWSObject::URL:0x48b1880 value="http://ecx.images-amazon.com/images/I/41w6qA2x-zL._SL75_.jpg">]>], @large_image=[#<Amazon::AWS::AWSObject::LargeImage:0x48b0cb4 @width=[#<Amazon::AWS::AWSObject::Width:0x48b08cc value="354", @attrib={"units"=>"pixels"}>], @height=[#<Amazon::AWS::AWSObject::Height:0x48b0a84 value="500", @attrib={"units"=>"pixels"}>], @url=[#<Amazon::AWS::AWSObject::URL:0x48b0b9c value="http://ecx.images-amazon.com/images/I/41w6qA2x-zL.jpg">]>], @item_links=[#<Amazon::AWS::AWSObject::ItemLinks:0x48b2a3c @item_link=[#<Amazon::AWS::AWSObject::ItemLink:0x48b2848 @description=[#<Amazon::AWS::AWSObject::Description:0x48b2690 value="Add To Wishlist">], @url=[#<Amazon::AWS::AWSObject::URL:0x48b253c value="http://www.amazon.co.jp/gp/registry/wishlist/add-item.html%3Fasin.0%3D4797340045%26SubscriptionId%3DAKIAIIMLO73WZPHFMIQA%26tag%3Dcalibanorg-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D5143%26creativeASIN%3D4797340045">]>, #<Amazon::AWS::AWSObject::ItemLink:0x48b2438 @description=[#<Amazon::AWS::AWSObject::Description:0x48b2334 value="Tell A Friend">], @url=[#<Amazon::AWS::AWSObject::URL:0x48b2258 value="http://www.amazon.co.jp/gp/pdp/taf/4797340045%3FSubscriptionId%3DAKIAIIMLO73WZPHFMIQA%26tag%3Dcalibanorg-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D5143%26creativeASIN%3D4797340045">]>, #<Amazon::AWS::AWSObject::ItemLink:0x48b2154 @description=[#<Amazon::AWS::AWSObject::Description:0x48b2050 value="All Customer Reviews">], @url=[#<Amazon::AWS::AWSObject::URL:0x48b1f74 value="http://www.amazon.co.jp/review/product/4797340045%3FSubscriptionId%3DAKIAIIMLO73WZPHFMIQA%26tag%3Dcalibanorg-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D5143%26creativeASIN%3D4797340045">]>, #<Amazon::AWS::AWSObject::ItemLink:0x48b1e70 @description=[#<Amazon::AWS::AWSObject::Description:0x48b1d6c value="All Offers">], @url=[#<Amazon::AWS::AWSObject::URL:0x48b1c90 value="http://www.amazon.co.jp/gp/offer-listing/4797340045%3FSubscriptionId%3DAKIAIIMLO73WZPHFMIQA%26tag%3Dcalibanorg-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D5143%26creativeASIN%3D4797340045">]>]>], @asin=[#<Amazon::AWS::AWSObject::ASIN:0x48b2dac value="4797340045">]>], @request=[#<Amazon::AWS::AWSObject::Request:0x48b4698 @is_valid=[#<Amazon::AWS::AWSObject::IsValid:0x48b44b8 value="True">], @item_lookup_request=[#<Amazon::AWS::AWSObject::ItemLookupRequest:0x48b4300 @response_group=[#<Amazon::AWS::AWSObject::ResponseGroup:0x48b370c value="Medium">], @condition=[#<Amazon::AWS::AWSObject::Condition:0x48b4134 value="New">], @item_id=[#<Amazon::AWS::AWSObject::ItemId:0x48b38b0 value="9784797340044">], @search_index=[#<Amazon::AWS::AWSObject::SearchIndex:0x48b31f8 value="Books">], @merchant_id=[#<Amazon::AWS::AWSObject::MerchantId:0x48b3c20 value="Amazon">], @review_page=[#<Amazon::AWS::AWSObject::ReviewPage:0x48b3554 value="1">], @delivery_method=[#<Amazon::AWS::AWSObject::DeliveryMethod:0x48b3f90 value="Ship">], @variation_page=[#<Amazon::AWS::AWSObject::VariationPage:0x48b3054 value="All">], @offer_page=[#<Amazon::AWS::AWSObject::OfferPage:0x48b3a68 value="1">], @review_sort=[#<Amazon::AWS::AWSObject::ReviewSort:0x48b339c value="-SubmissionDate">], @id_type=[#<Amazon::AWS::AWSObject::IdType:0x48b3dd8 value="ISBN">]>]>]>]>], @__op__=#<Amazon::AWS::ItemLookup:0x48da7d0 @params={"Operation"=>"ItemLookup", "ItemId"=>"9784797340044", "IdType"=>"ISBN", "SearchIndex"=>"Books"}, @kind="ItemLookup">> ==↑page.inspect item_lookup_response __op__ ==↑page.properties ===================Get ASIN and other data ASIN = 4797340045 small_image = http://ecx.images-amazon.com/images/I/41w6qA2x-zL._SL75_.jpg medium_image = http://ecx.images-amazon.com/images/I/41w6qA2x-zL._SL160_.jpg large_image = http://ecx.images-amazon.com/images/I/41w6qA2x-zL.jpg detail_page_url = http://www.amazon.co.jp/Ruby%E3%83%AC%E3%82%B7%E3%83%94%E3%83%96%E3%83%83%E3%82%AF-%E7%AC%AC2%E7%89%88-268%E3%81%AE%E6%8A%80-%E9%9D%92%E6%9C%A8-%E5%B3%B0%E9%83%8E/dp/4797340045%3FSubscriptionId%3DAKIAIIMLO73WZPHFMIQA%26tag%3Dcalibanorg-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D4797340045 title = Rubyレシピブック 第2版 268の技 publisher = ソフトバンク クリエイティブ author = 青木 峰郎後藤 裕蔵高橋 征義
- TB-URL http://snjx.info/diary/snjx/034/tb/