Downloading Media Files From Twilio In Python
I'm trying to download all the media that is sent to my Twilio account and cannot for the life of me figure out how to access the actual images. from twilio.rest import Client impo
Solution 1:
Twilio developer evangelist here.
When you get the Media URI from the helper library, it is the json representation of the resource and ends in .json. To get the raw resource you need only to strip the .json extension. You can use that URL to download the image.
Post a Comment for "Downloading Media Files From Twilio In Python"