Skip to content
This repository was archived by the owner on May 24, 2023. It is now read-only.

Commit cece1b7

Browse files
author
Tony Bedford
committed
Get the specified recording.
1 parent 863fc05 commit cece1b7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

voice/get-recording.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/env python3
2+
import nexmo
3+
import time
4+
from pprint import pprint
5+
6+
client = nexmo.Client(
7+
application_id=APPLICATION_ID,
8+
private_key=APPLICATION_PRIVATE_KEY_PATH,
9+
)
10+
11+
response = client.get_recording(URL)
12+
pprint(response)
13+

0 commit comments

Comments
 (0)