Fetching San Francisco International TSA Wait Times

Share

Summary

This tutorial demonstrates how to create a Sock Puppet to fetch the current airport security wait time for San Francisco (SFO) airport and integrate it with Apple Shortcuts for automated notifications upon arrival.

Highlights

Creating a Sock Puppet for SFO Wait Times
00:00:02

The video begins by explaining how to use the Sock Puppet app to fetch the current security wait time for San Francisco airport. The user searches for 'SFO airport security wait time' and selects a suitable website. A new Sock Puppet is created with a descriptive name, 'SFO weight time', and the webpage address is saved.

Extracting Wait Time Information
00:01:26

The tutorial then focuses on selecting the correct element on the webpage to extract the wait time. Initially, the direct '19 minutes' element is considered, but a more comprehensive text element containing 'Current security weight time at SFO' is chosen. The class of this element is used for extraction, and a variable named 'wait time' is assigned to the extracted text. The AI prompt is configured to ask 'What is the current wait time at SFO?' to refine the output.

Refining the Extraction and AI Prompt
00:03:31

The initial attempt with the AI prompt and element selection shows some issues. The video demonstrates the importance of testing the extraction without AI first to ensure the correct value is being retrieved. After adjusting the selected element and the AI prompt to 'give a very short answer', the output successfully displays '19 minutes', which is the desired result.

Integrating with Apple Shortcuts
00:06:12

The next step involves creating an Apple Shortcut to utilize the Sock Puppet. A new shortcut named 'SFO wait time' is created, and the 'Execute and return value' action for the Sock Puppet is added. An airport icon and yellow color are chosen for the shortcut's appearance. A 'Show Notification' action is added to display the returned wait time.

Customizing the Notification and Automation
00:07:52

The notification message is customized to read 'The current wait time is 19 minutes'. Finally, an automation is set up to trigger this shortcut automatically. The automation is configured to run when the user arrives at San Francisco International Airport, ensuring an immediate notification of the wait time upon arrival within a defined geographical area.

Summary and Conclusion
00:11:23

The video concludes by recapping that while selecting the correct web element can be tricky, testing without AI is crucial. It highlights that Sock Puppets can run automatically without needing to open the app, providing a seamless experience for getting airport wait time updates.

Recently Summarized Articles

Loading...