# E-mail: midorex@gmail.com # URL: http://midorex.blogspot.com/ # Product Advertising API Product Advertising API(リンク作成用API、旧称:AmazonアソシエイトWebサービス) https://affiliate.amazon.co.jp/gp/advertising/api/detail/main.html Product Advertising API 開発者向けガイド リクエストの署名認証について(参考訳) https://affiliate.amazon.co.jp/gp/associates/help/t126 Announcement: Amazon アソシエイト Web サービスの名称変更および署名認証についてのお知らせ http://developer.amazonwebservices.com/connect/ann.jspa?annID=442 # Thanks http://github.com/tdtds/amazon-auth-proxy/ # Dependency ruby 1.9.1 ruby-openid-2.1.6 Your Access key and Secret key and Amazon id # Setting $ cd /your/path/amazon-jp-api/ # make directory $ mkdir data $ mkdir data/text # edit the path $ vi run-amazon-api.rb # line: /path/to/ruby-openid-2.1.6 # edit config $ vi config # line: your amazon-key, amazon-secret-key, amazon-id # Usage # Add a Book Object or Muisc Object to the list $ ./run-amazon-api.rb add 9784873113944 $ ./run-amazon-api.rb add 0724359095226 # View the list $ ./run-amazon-api.rb l 3 or $ ./run-amazon-api.rb l 10 or $ ./run-amazon-api.rb l #=> 1 [0724359095226][Music][2009/08/05] Feels Like Home | Norah Jones 2 [9784873113944][Book ][2009/08/05] プログラミング言語 Ruby | まつもと ゆきひろ / David Flanagan ... Select # 1 + return SelectOption [o/i/r/n]: # o + return => open the text file # r + retrun => remove a Object form list # i + return => show detail of Book Object or Music Object # n + return => cancel run option. # Search Object $ ./run-amazon-api s ruby #=> 1 [9784873113944][Book ][2009/08/05] プログラミング言語 Ruby | まつもと ゆきひろ / David Flanagan SelectOption [o/i/r/n]: # License Copyright (C) 2009 midore amazon-jp-api is licensed under the GPLv2