import plivo
client = plivo.RestClient("<auth_id>", "<auth_token>")
response = client.media.get('media_id')
print(response)
{
"api_id": "<api_id>",
"content_type": "image/png",
"file_name": "SampleFile.png",
"media_id": "<media_id>",
"size": 700670,
"upload_time": "2020-02-17T07:53:36.643522Z",
"media_url": "https://media.plivo.com/Account/<auth_id>/Media/<media_id>"
}
import plivo
client = plivo.RestClient("<auth_id>", "<auth_token>")
response = client.media.get('media_id')
print(response)
{
"api_id": "<api_id>",
"content_type": "image/png",
"file_name": "SampleFile.png",
"media_id": "<media_id>",
"size": 700670,
"upload_time": "2020-02-17T07:53:36.643522Z",
"media_url": "https://media.plivo.com/Account/<auth_id>/Media/<media_id>"
}
https://api.plivo.com/v1/Account/{auth_id}/Media/{media_id}/
import plivo
client = plivo.RestClient("<auth_id>", "<auth_token>")
response = client.media.get('media_id')
print(response)
{
"api_id": "<api_id>",
"content_type": "image/png",
"file_name": "SampleFile.png",
"media_id": "<media_id>",
"size": 700670,
"upload_time": "2020-02-17T07:53:36.643522Z",
"media_url": "https://media.plivo.com/Account/<auth_id>/Media/<media_id>"
}