README.en.md in rakuten_web_service-0.5.0 vs README.en.md in rakuten_web_service-0.6.0

- old
+ new

@@ -40,16 +40,20 @@ * [Rakuten Books Magazine Search API](http://webservice.rakuten.co.jp/api/booksmagazinesearch/) * [Rakuten Books Game Search API](http://webservice.rakuten.co.jp/api/booksgamesearch/) * [Rakuten Books Software Search API](http://webservice.rakuten.co.jp/api/bookssoftwaresearch/) * [Rakuten Books Genre Search API](http://webservice.rakuten.co.jp/api/booksgenresearch/) +### Rakuten Kobo APIs +* [Rakuten Kobo Ebook Search API](http://webservice.rakuten.co.jp/api/koboebooksearch/) +* [Rakuten Kobo Genre Search API](http://webservice.rakuten.co.jp/api/kobogenresearch/) + ## Usage ### Configuration -`RakutenWebService.configuration` allows you to specify your application's key called application\_id and your affiliate id(optional). +`RakutenWebService.configuration` allows you to specify your application's key called application\_id and your affiliate id(optional). ```ruby RakutenWebService.configuration do |c| c.application_id = YOUR_APPLICATION_ID c.affiliate_id = YOUR_AFFILIATE_ID @@ -59,11 +63,11 @@ ### Search Ichiba Items ```ruby items = RakutenWebService::Ichiba::Item.search(:keyword => 'Ruby') # This returns Enamerable object items.first(10).each do |item| - puts "#{item['itemName']}, #{item.price} yen" # You can refer to values as well as Hash. + puts "#{item['itemName']}, #{item.price} yen" # You can refer to values as well as Hash. end ``` ### Genre @@ -73,10 +77,10 @@ root = RakutenWebService::Ichiba::Genre.root # root genre # children returns sub genres root.children.each do |child| puts "[#{child.id}] #{child.name}" end - + # Use genre id to fetch genre object RakutenWebService::Ichiba::Genre[100316].name # => "水・ソフトドリンク" ```