60 points · by BaiCrazy · 11y ago · 4 comments
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.