sigmavirus24 / gh2

A tool to transmogrify GitHub issues to any desired output

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gh2

An extensible (soon) tool take GitHub issues and convert it to any output format.

Warning

This is still a very young project.

Installation

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

Usage

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

About

A tool to transmogrify GitHub issues to any desired output

License:Other


Languages

Language:Python 100.0%