Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:

Guiomar Valderrama gdvalderrama

:octocat:
View GitHub Profile
@gdvalderrama
gdvalderrama / get_sentry_issue_events.py
Last active Feb 14, 2021
Request sentry issue events and save them to a CSV file
View get_sentry_issue_events.py
'''
Use: `python get_sentry_issue_events.py <sentry_token> <issue_id>`
Gets all events of an issue and saves them to a CSV.
The token can be generated at https://sentry.io/api/
Only the event:read permission is needed.
'''
import csv
import io