A library that makes consuming a REST API easier and more convenient. Current version is 0.7.1, with no recent releases (last release 2014-07-14). Considered in maintenance mode.
pip install slumberVerified import paths — ran on the pinned version, not inferred.
Create an API instance and access resources via attribute chaining.
Always call resource methods with parentheses: `api.users.get()` not `api.users.get`.
Use `session = requests.Session(); session.auth = (user, pass); api = API(url, session=session)`.
Use a different library for async workflows.
Ensure your API URLs do not have trailing slashes, or handle redirects explicitly.
Check the API URL and endpoint. Use `api.users.get()` with parentheses.
Use `api.users.get()` instead of `api.users()`.
Run `pip install slumber` and ensure you are using the correct Python environment.