Difficulty: Beginner
Estimated Time: 90 minutes

PagerDuty Summit API Workshop

This workshop creates an App that integrates with Twitter and subscribes to the #PagerDutySummit hashtag for content. You will get the opportunity to make use of PagerDuty’s Events API, REST API, and Webhooks as well as learn how they are different and when to use each one.

The workshop will be conducted using the Python programming language and is suitable for all skill levels, including beginners. Code samples and hints will be provided if you get stuck, and there will also be a live walkthrough if you prefer to just follow along.

Source Code

The source code for this workshop can be found here.

Summit 2020 API Workshop

Step 1 of 9

Step 1

What are we building?

We'll be building a simple Twitter integration.

We will run an app that upon startup will do the following:

  1. Create and get necessary information from our PagerDuty account.
  2. Query Twitter for Tweets that contain "#pdsummit", or "@pagerduty"
  3. Send all of the matching Tweets to PagerDuty
  4. Use an Event Rule in PagerDuty to create an Alert when one of those Tweets also contains a mention of PagerDuty CEO Jennifer Tejada (@jenntejada)