Skip to content

Instantly share code, notes, and snippets.

@siiramone
siiramone / download_sentry_data.py
Last active November 16, 2023 19:32 — forked from vladox/download_sentry_data.py
Download sentry issues within the specified date range for a project. Useful for data processing.
"""Download sentry data.
usage:
1. create auth token (https://sentry.io/settings/account/api/auth-tokens/).
2. make a directory for export if not exists.
$ mkdir data
3. fix event.timestamp (L27).
4. execute
$ python download_sentry_data.py <org>/<project> <auth_token>
5. a CSV file with a name formatted as "./data/issues_YYYYmmDDHHMMSS.csv" is created.
"""