APIConsumer is a simple gem for accessing external APIs more easily.
in your Gemfile:
and bundle install!
Wow, that was easy.
How to use APIConsumer:
APIConsumer is meant to be simple.
Follow along with the example for Wikipedia in the examples/wikipedia.rb file.
Basically, you need to Ruby class to be your API consumer. Create a yaml file for configuring your API consumer. Then customize your methods to use the API Consumer custom methods that make using APIs simple and easy.
- More documentation
- More instructions
- More examples
- Fix pending tests