Skip to content

Instantly share code, notes, and snippets.

@mmoelli
mmoelli / export_repo_issues_to_csv.py
Last active January 23, 2018 20:27
[python] Fetch Issues from GitHub API (v3) with Auth token and put them into a CSV
"""
Exports Issues from a list of specified repository to a CSV file
Credits go to https://gist.github.com/unbracketed/3380407#file-export_repo_issues_to_csv-py for the initial work, but I had to adjust it a bit
FYI: you need to install 'requests' before, best via pip: "$ sudo pip installs requests"
"""
import csv
import requests