mirror of
https://github.com/jambonz/batch-speech-utils.git
synced 2026-01-25 02:08:27 +00:00
example usage readme
This commit is contained in:
24
example/readme.md
Normal file
24
example/readme.md
Normal file
@@ -0,0 +1,24 @@
|
||||
## Usage
|
||||
#### Requires node js 20+
|
||||
|
||||
Run the script with the following command-line arguments:
|
||||
|
||||
- callId: The ID of the call to download.
|
||||
- date: The date of the call recording.
|
||||
- format: The format of the recording file (e.g., mp3).
|
||||
|
||||
``` bash
|
||||
node downloadAndRedact.js <callId> <date> <format>
|
||||
|
||||
#example
|
||||
node example-jambones-api.js 8e9####b-f##8-4bdf-85a6-####### 2024/06/06 mp3
|
||||
|
||||
```
|
||||
### Environment Variables Setup
|
||||
```bash
|
||||
export ACCOUNT_SID=your_account_sid
|
||||
export JAMBONZ_API_TOKEN=your_jambonz_api_token
|
||||
export DEEPGRAM_API_KEY=your_deepgram_api_key
|
||||
export TEMP_FOLDER=optional_temp_folder_path
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user