Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 895 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 895 Bytes

github-reporting

github repo and developer metrics

Configure:

Run pip install PyGitHub on your Python 2.7.12+ installation.

Run:

The code takes an API endpoint and API token as mandatory arguments. Unless you want to import certs, recommend you turn of cert validation during the run, as in:

PYTHONHTTPSVERIFY=0 ./eddiebot.py ENDPOINT TOKEN

For CSV output, use the --manager flag:

PYTHONHTTPSVERIFY=0 ./eddiebot.py --manager ENDPOINT TOKEN

To list all repos:

PYTHONHTTPSVERIFY=0 ./eddiebot.py --list-repos REPO ENDPOINT TOKEN

To limit to a specific repo:

PYTHONHTTPSVERIFY=0 ./eddiebot.py --repo REPO ENDPOINT TOKEN

Reference:

PyGitHub

TL;DR

Public

PYTHONHTTPSVERIFY=0 /tmp/github-reporting/eddiebot.py  --repo Datanexus/data_pipeline https://api.github.com <_put token here_>