APIConsumer JSON
About
APIConsumer is a simple gem for accessing external APIs more easily. API Consumer JSON is the JSON only version of this. It requires less libraries than the full version that handles XML parsing also.
Install APIConsumer:
in your Gemfile:
gem "api_consumer_json"
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.
To do
- More documentation
- More instructions
- More examples
- Fix pending tests