README.md in ann_wrapper-1.1.3 vs README.md in ann_wrapper-1.1.4

- old
+ new

@@ -1,10 +1,11 @@ # ann_wrapper [![Gem Version](https://badge.fury.io/rb/ann_wrapper.png)](http://badge.fury.io/rb/ann_wrapper) [![Build Status](https://travis-ci.org/Getkura/ann_wrapper.png?branch=dev)](https://travis-ci.org/Getkura/ann_wrapper) +[![Dependency Status](https://gemnasium.com/Getkura/ann_wrapper.png)](https://gemnasium.com/Getkura/ann_wrapper) [![Code Climate](https://codeclimate.com/github/Getkura/ann_wrapper.png)](https://codeclimate.com/github/Getkura/ann_wrapper) A simple ruby wrapper/abstraction for the [Anime News Network API](http://www.animenewsnetwork.com/encyclopedia/api.php) @@ -28,10 +29,13 @@ steins_gate = ANN_Wrapper.fetch_anime 11770 Info: + steins_gate.id + => "11770" + steins_gate.title => ["Steins;Gate"] steins_gate.alt_titles => {"PT"=>["Steins-Gate e a Teoria do Caos"], "JA"=>["シュタインズ・ゲート"], "ZH-TW"=>["命運石之門"], "KO"=>["슈타인즈 게이트"]} @@ -71,25 +75,29 @@ ] Episodes: - steins_gate.episodes.first - => #<struct ANN_Episode number="1", title="Prologue of the Beginning and End", lang="EN"> - steins_gate.episodes.find_all {|e| e.title.include? "Prologue"} => [ #<struct ANN_Episode number="1", title="Prologue of the Beginning and End", lang="EN">, #<struct ANN_Episode number="24", title="The Prologue Begins With the End", lang="EN"> ] + steins_gate.episodes.first.to_h + => {:number=>"1", :title=>"Prologue of the Beginning and End", :lang=>"EN"} + Images: steins_gate.images => [ #<struct ANN_Image src="http://cdn.animenewsnetwork.com/thumbnails/fit200x200/encyc/A11770-1864351140.1370764886.jpg", width="200", height="125">, - #<struct ANN_Image src="http://cdn.animenewsnetwork.com/thumbnails/fit200x200/encyc/A11770-8.jpg", width="200", height="200"> + #<struct ANN_Image src="http://cdn.animenewsnetwork.com/thumbnails/max500x600/encyc/A11770-1864351140.1370764886.jpg", width="500", height="312">, + #<struct ANN_Image src="http://cdn.animenewsnetwork.com/images/encyc/A11770-1864351140.1370764886.jpg", width="900", height="562">, + #<struct ANN_Image src="http://cdn.animenewsnetwork.com/thumbnails/fit200x200/encyc/A11770-8.jpg", width="200", height="200">, + #<struct ANN_Image src="http://cdn.animenewsnetwork.com/thumbnails/max500x600/encyc/A11770-8.jpg", width="317", height="317"> ] +