Convert Symbl.ai's conversation data into the SRT file format.
- Python
- Terminal
- The first step to getting setup is to sign up.
- Symbl
appIdandappSecretfrom your Symbl account - Grab the
conversationIdof 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,appSecretandconversationId - Save the file.
- Run the file
python index.pyin your terminal.
Here is a breakdown of what happens.
- With the
converstionIdthe script makes two API calls:/conversationsand/messages - The
/conversationsAPI fetches the initialstartTime - The
/messagesAPI fetches thestartTime,endTimeand 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 [email protected] 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