Convert Symbl.ai's conversation data into the SRT file format.
- Python
- Terminal
- The first step to getting setup is to sign up.
- Symbl
appId
andappSecret
from your Symbl account - Grab the
conversationId
of a conversation you created with Symbl.ai - git clone https://github.com/symblai/convert-messages-to-SRT-format
- Run
cd symbl-devtool-SRT-format-converter
- Edit the
index.py
, adding your values forappId
,appSecret
andconversationId
- Save the file.
- Run the file
python index.py
in your terminal.
Here is a breakdown of what happens.
- With the
converstionId
the script makes two API calls:/conversations
and/messages
- The
/conversations
API fetches the initialstartTime
- The
/messages
API fetches thestartTime
,endTime
and text for all of the messages - A calculation of time difference from the messages startTime and endTime is created vis-a-vis the conversation's
startTime
.
Here is what you get: As a user you convert Symbl.ai's conversation data into the SRT file format..
If you have any questions, feel free to reach out to us at devrelations@symbl.ai or through our Community Slack or our forum.
This guide is actively developed, and we love to hear from you! Please feel free to create an issue or open a pull request with your questions, comments, suggestions and feedback. If you liked our integration guide, please star our repo!
This library is released under the Apache License