Skip to content

Instantly share code, notes, and snippets.

@Deconstrained
Deconstrained / teams-integration-emails-report.py
Last active February 7, 2017 17:37
PagerDuty Team to Integration Email Report
#!/usr/bin/env python
# Generates a report in CSV format showing the integration emails used on services corresponding to each team
import csv,pypd,sys
pypd.api_key='' # Your API key here
teamobjs = pypd.Team.find()