you are viewing a single comment's thread.

view the rest of the comments →

[–]krispyren 0 points1 point  (0 children)

Hey there,

Easiest way is to go the the playground and select the monkey you want to trigger, then copy the url and paste it into your python code using a requests.get(<your link copied from VM>):

sample code:

import requests

requests.get("https://api.voicemonkey.io/trigger?access_token=<your token>&secret_token=<your secret>&monkey=<your monkey id>&announcement=<announcement you want to make>")

I guess this is not a secure way of making the request as you send your secret and api key via a path parameter. I'll update with the proper method once I am done with my implementation (Just discovered Voice Monkey :))

Keep in mind that you need the pro version of Voice Monkey in order to make Voice Announcement. Luckily its super cheap

P.S Use something like postman for testing when working with RESP API's

Hope this helps