PagerDuty interview question

Write a small program that uses their API.