An extensible (soon) tool take GitHub issues and convert it to any output format.
Warning
This is still a very young project.
At the moment, gh2 is not available on PyPI but it can be installed from GitHub like so:
pip install git+https://github.com/rcbops/gh2.git
In order to avoid ratelimits, gh2 requires that you provide a Personal Access Token from GitHub. Once you've done that you can export this in your environment like so:
export GITHUB_TOKEN=<personal access token from github>
With that variable defined in your environment, you can then do the following
gh2csv --date-format '%Y-%m-%d' --output-file gh2results.csv rcbops/gh2
gh2csv --date-format '%Y-%m-%dT%H:%M:%SZ' --output-file requests.csv kennethreitz/requests