4 comments

[ 4.5 ms ] story [ 15.2 ms ] thread
It would be cool if you can put up some examples for Facebook.
I've written a similar library, also in Python.

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.

Is there anything like this for ruby?