This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Synthesia API client utilities. | |
| This module provides a comprehensive interface for interacting with the Synthesia API, | |
| including video creation, template management, webhook handling, and asset uploads. | |
| """ | |
| import os | |
| import json | |
| import logging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Gist: https://gist.github.com/nxnarbais/3ad3ebc4ed67bb3f4b0e435b002ae9c4 | |
| /** | |
| * Constants and Configuration | |
| */ | |
| const SYNTHESIA_API_KEY = ""; | |
| const SHEET_OUTPUT_VIDEO = 'output'; | |
| const SYNTHESIA_API_URL = 'https://api.synthesia.io/v2/videos/fromTemplate'; | |
| const COLUMNS_TO_EXCLUDE = ["_to_json", "template_id", "title", "description", "section", "lineIndex", "cta_label", "cta_url"]; | |
| const OUTPUT_COLUMNS_MANDATORY = ["template_id", "title", "lineIndex", "videoID", "publicVideoLink"]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <job | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xmlns="urn:proactive:jobdescriptor:3.3" | |
| xsi:schemaLocation="urn:proactive:jobdescriptor:3.3 http://www.activeeon.com/public_content/schemas/proactive/jobdescriptor/3.3/schedulerjob.xsd" | |
| name="FolderMonitoring" | |
| priority="normal" | |
| cancelJobOnError="false"> | |
| <taskFlow> | |
| <task name="DirectoryMonitoring"> |