This was originally posted by @clefshanty in the Supernotes Community.

An iOS shortcut that grabs a YouTube video’s URL and title, and creates a new card in Supernotes with the video embedded.

Features

  • Grabs YouTube video URL and title using the “Get URL” method
  • Creates a new card in Supernotes with the video embedded using the Supernotes API
  • Sets the card title to the YouTube video title
  • Adds tags to the card
  • Opens the new card in Supernotes after creation

Steps

  1. Get YouTube video URL and title using “Get URL” method
  2. Create markdown text for embedding the YouTube video using the format @[youtube](link to video)
  3. Send a POST request to the Supernotes API to create a new card with the video embedded
  4. Open the new card in Supernotes using the open app method

Notes

  • Requires Supernotes API key for authentication
  • Uses the https://api.supernotes.app/v1/cards/simple API endpoint to create a new card