Azure Function to generate pdf from transcripts and screenshots, save it to Azure Blob storage and return the pdf URL.
- POST
JSON Object with the following key-value pairs
{
"transcripts" : string,
"classID" : string,
"screenshots" : [ images in base64 encoded string ]
}
JSON Object with the following key-value pairs
{
"type": "url" or "error",
"data": string
}
- An Azure subscription.
- The Azure Functions Core Tools.
- Visual Studio Code with the Azure Functions extension.
func host start
An endpoint will be output in the terminal which you can use for testing.
Find tutorial to Create and deploy serverless Azure Functions in Python with Visual Studio Code
Store connection string, which you can get from azure portal in the local.settings.json
file.