ghcontribs.write_all_contrib_files

ghcontribs.write_all_contrib_files(directory: str, user: str, auth: Tuple[str, str])

Write monthly contribution files for all user activity.

Thi writes out JSON files of contributions for the given user, using one file per month that the user was active. Filenames will be of the format YYYY-MM.json.

Parameters:
  • directory – directory in which to write the files

  • user – username for the contributions

  • auth – authorization information for GitHub API