Marvellous
Marvel API Gem
Ruby wrapper for Marvel Comics API.
Installation
Add this line to your application's Gemfile:
gem 'marvellous'
And then execute:
$ bundle
Or install it yourself as:
$ gem install marvellous
Usage
Please register first in the Marvel Comics Developer
Portal to get your API credentials (a public key
and a private key, you'll need them both to configure and instantiate a client).
Instantiate a client
client = Marvellous::Client.new( :public_key => 'abcd1234', :private_key => '5678efgh')
client.characters
client.characters({page_size: 20, page_num: 2})
client.characters({paginate: false})
client.character({id: 1009610})