Get info from API
<p>I got a really tricky API where I'm getting some books info from. I would need to get the cover image when available though but I can't get it.</p>

<p>This is how my API looks like:</p>

<p><a href="https://i.stack.imgur.com/95OK5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/95OK5.png" alt="API"></a></p>

<p>And this is my code to get till 'cover'. I can't select though the large cover.</p>

<pre><code>@infos = HTTParty.get("http://openlibrary.org/api/books?bibkeys=ISBN:#{params[:isbn]}&amp;jscmd=data&amp;format=json")
@data = @infos["ISBN:#{params[:isbn]}"]
@cover = @data['cover]
</code></pre>

<p>As you can see I'm using Ruby. Any help guys?</p>