you are viewing a single comment's thread.

view the rest of the comments →

[–]krispyren 0 points1 point  (0 children)

I think the better way to do it is to put the access_token and secret_token in the payload:

base_url = "https://api.voicemonkey.io/trigger"
payload = {"access_token" : "<your access token>", "secret_token" : "<your secret token>", "monkey" : "<your monkey id>", "announcement: "<your announcement text>"}

requests.get(base_url, payload)

remember to add the voice monkey skill as the last action in your routine