Skip to content

ArtDu/gh-issues-getter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

$ pip install PyGithub

How to use

Use parameter passing through system envs.

TOKEN="{your github token}" \
REPOS_FILE="repos.txt" \
USERS_FILE="users.txt" \
BEGIN_DATE="01/01/20" \
END_DATE="01/01/21" \
STATE="all" \
OUTPUT_FILE="issues.csv" \
python3 main.py
  • Format of date -- %m/%d/%y
  • STATE = "all" | "closed" | "all"
  • TOKEN needs full repo access to be able to scan private repos

Example of output

issues.csv
open.csv
closed.csv

Sample files for input

  • repos.txt
tarantool/tarantool
tarantool/cartridge
  • users.txt
sharonovd
akudiyar
amitichev
filonenko-mikhail

About

github python script

Topics

Resources

Stars

Watchers

Forks

Languages