Just a few simple steps to get started with Apitally.
prod
and dev
) for your app, or simply accept the defaults.
Take a note of the client ID displayed after submitting. You will need it in the next step.
client_id
for your app.
You’ll find the client_id
on the Setup instructions page for your app in the Apitally dashboard, which is displayed immediately after creating the app.
ApitallyMiddleware
last, so
that it wraps the existing stack of middlewares.set_consumer
function to associate requests with consumers, for example in a middleware or directly in your endpoint functions.
Alternatively, you can provide a callback function to the ApitallyMiddleware
that takes a Request
object as an argument and returns a consumer identifier, an ApitallyConsumer
object or None
.