Google Python SDK
Create a bot API key
Each bot needs its own API key for tracking.
Create a bot to get an API key.
Install Dashbot Python SDK
pip install dashbot
Import the Dashbot library
from dashbot import google
Initialize Dashbot
Use the API key created above.
dba = google.google(process.env.DASHBOT_API_KEY)
Log incoming requests
dba.logIncoming(incomingRequest)
Log outgoing response
Pass both the incoming request and the response
dba.logOutgoing(incomingRequest, response)