Alexa Python SDK
Create a Skill API key
Each Skill needs its own API key for tracking.
Install Dashbot Python SDK
pip install dashbot
Import the Dashbot library
from dashbot import alexa
Initialize Dashbot
Use the API key created above.
dba = alexa.alexa(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)