We should allow users to configure the NinjaAPI whenever they want. I guess an easy way is to support a init_api setting and call it instead of api = NinjaAPI(...).
Since this can change how auth is made, that will also reflect on the client side, we may need to provide a way for devs to set up client interceptors as well.
We should allow users to configure the NinjaAPI whenever they want. I guess an easy way is to support a
init_api
setting and call it instead ofapi = NinjaAPI(...)
.Since this can change how auth is made, that will also reflect on the client side, we may need to provide a way for devs to set up client interceptors as well.