![]() Click on your username and select API keys in the dropdown menu:Ĭopy the Stage API key and save it for later. Sign up or log in to the Shotstack dashboard. ![]() Copy the key value and save it for later. You will see a new field appear containing the key. For simplicity we are going to continue using the old API key instead of the new token. Scroll down to the API section, you will see a deprecation notice. Retrieve the Airtable API keyįrom the Airtable dashboard click on the profile icon in the top right corner and select Account: Take a note of the base ID as we will need it later in our script. In this example the base id is app37fKU9RInYBOP1. The Base ID is the first segment of URL on the base page and looks like this: To use the newly created Podcasts table via the Airtable API we need the Base ID. Your base and Podcasts table should now look like this: Once the data is imported, rename the table from Imported table to Podcasts using the dropdown menu: Instead click on Add or import, then click on CSV file, choose the podcasts.csv file we prepared earlier and then choose Create a new table to import to. The Base contains a default table (Table 1) which can be ignored. A new page is displayed with the title Untitled Base. Once the workspace is created, click Add a base. Create a workspaceĪfter saving the CSV file, navigate to Airtable, and create or sign in to your account.Ĭlick on Add a workspace to create a new workspace named Shotstack. Each record has an Episode number, Title, Audio URL, Waveform URL, and an empty Video URL field. The sample data is a list of podcasts with 12 records. ![]() Use this SDK to render a video for each record found in the Airtable Base table.Ĭreate a file named podcasts.csv in the project root, then copy and save the following CSV data: Episode, Title, Audio URL, Waveform URL, Video URL shotstack-sdk: the Node.js SDK for Shotstack.Use this to retrieve and update records stored in the Airtable Base table. airtable: the official Airtable JavaScript library.Then install the project dependencies: npm install airtable shotstack-sdk ![]() Open a terminal window and create a new directory called podcasts: mkdir podcastsĬreate a new Node.js project with default settings: npm init -y
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |