Quickstart
Step-by-step guide
To get started, install the AssemblyAI Python SDK.assemblyai package and set your API token in the settings:
cron job to call.
Using EasyCron’s API to schedule a DELETE request
First, sign up for an account with EasyCron here. Locate your EasyCron API key in your user dashboard. Then, insert your EasyCron API key into your code. Next, we will use the datetime module to generate acron expression for 24 hours from now (although you can configure the timedelta argument to be whatever you want)
cron job 24 hours from now with EasyCron to send a delete request to AssemblyAI for the transcript that we just generated.
Troubleshooting:
Error 3: The cron expression you entered is invalid or it cannot be matched in a realitic future.: Check that your EasyCron account settings has UTC configured as the default timezone.
Other resources
AssemblyAI DELETE endpoint API referenceEasyCron API reference