2 ms·
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 th
by illicium 12y ago
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.