main

Main - GitHub issues scraper.

This is a simple GitHub API scraper of GitHub issues that saves all available issues in the given repository to .csv and .json files. The address of GitHub repository is provided as a command-line argument.

Functions

date_fnc(hours_shift)

Date function returning date object shifted about hours_shift arg.

make_path(filename)

wrapper for making output folder in the current dir and return the path appended by given filename

save_csv(filename, data_dict)

Save data into given file formatted as csv.

save_json(filename, data_dict)

Save data into given file formatted as json.

t_printer(dt_obj)

Date obj printer

transformation_v1(element)

Concrete transformation of issues into a structure where only:

Classes

GithubRepo(owner, repo)

Class representing Github repo with set of wrappers for GitHub API.