Wrapping web APIs made easy(github.com)
github.com
Wrapping web APIs made easy
https://github.com/redodo/tortilla
4 comments
It would be cool if you can put up some examples for Facebook.
Is there anything like this for ruby?
I've built a tool (http://restunited.com) to help generate SDKs (Ruby, Python, PHP, etc) for REST API. Would it meet your requirement?
Things get interesting when you implement __iter__ for collections and __setattr__ for PUT/POST requests. At that point, you start needing a machine-readable API spec (e.g. Swagger, or straight Python with subclasses and decorators).
This looks great for one-off scripts or exploring APIs in a REPL.