I'd like to learn how to design good API wrappers in ruby. I'm looking for:
... and also,
what are some of your favorite API wrappers and what makes them special?
Any source is welcome Thanks in advance
UPDATE jun 29 2011
Building a Platform API on Rails
UPDATE: 13/06/2011
have a look at great post on how to develop an an API wrapper/interface client: - http://www.arailsdemo.com/posts/56
Idiomatic consistency Put simply, this means your wrapper should smell like language in which it is written — Ruby like Ruby, Java like Java, PHP like PHP, and so on. This usually comes into play when language conventions bleed through an API in the form of method and variable names.
Ruby is a popular dynamically typed language that really gained traction in the mid 2000s for developing MVC websites using the Ruby on Rails (RoR) framework. While less popular with modern APIs and Single Page Apps, you'll still see APIs being built with Ruby in the wild.
since testing is one part of a good API wrapper I recommend this for a start on the topic.
Writing an API Wrapper in Ruby with TDD
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With