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.
set_consumer
function to associate requests with consumers, for example in a before_request
life cycle hook or directly in your route handler functions.
Alternatively, provide a callback function to the ApitallyPlugin
that takes a Request
object as an argument and returns a consumer identifier, an ApitallyConsumer
object or None
.