Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Resources for learning how to design good API wrappers in ruby [closed]

I'd like to learn how to design good API wrappers in ruby. I'm looking for:

  • blog articles
  • tutorials
  • best code and library to learn from the code directly (well commented and designed)
  • books

... 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

like image 776
Luca G. Soave Avatar asked May 10 '11 22:05

Luca G. Soave


People also ask

What makes a good API wrapper?

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.

What is Ruby API?

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.


1 Answers

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

like image 65
HaNdTriX Avatar answered Oct 17 '22 01:10

HaNdTriX