Resources for learning how to design good API wrappers in ruby [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
开发者_StackOverflow Improve this questionI'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
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
Chapter 2 of Ruby Best Practices might be helpful. You can read it for free here.
Take a look at Instagram Ruby Client.
It should give you a fair idea on how to write modular third party API wrappers in Ruby.
精彩评论