{"id":34112866,"url":"https://github.com/saiyalamarty/github-stats","last_synced_at":"2026-04-11T05:01:24.702Z","repository":{"id":62591201,"uuid":"484953986","full_name":"saiyalamarty/github-stats","owner":"saiyalamarty","description":"Command line tool to get number of PRs reviewed by a user.","archived":false,"fork":false,"pushed_at":"2022-07-18T20:02:14.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-12-17T02:52:30.805Z","etag":null,"topics":["github","pull-requests","stats"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saiyalamarty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-24T07:14:37.000Z","updated_at":"2022-04-24T16:40:02.000Z","dependencies_parsed_at":"2022-11-03T22:51:00.254Z","dependency_job_id":null,"html_url":"https://github.com/saiyalamarty/github-stats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/saiyalamarty/github-stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saiyalamarty%2Fgithub-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saiyalamarty%2Fgithub-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saiyalamarty%2Fgithub-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saiyalamarty%2Fgithub-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saiyalamarty","download_url":"https://codeload.github.com/saiyalamarty/github-stats/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saiyalamarty%2Fgithub-stats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31669117,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github","pull-requests","stats"],"created_at":"2025-12-14T19:04:33.473Z","updated_at":"2026-04-11T05:01:24.677Z","avatar_url":"https://github.com/saiyalamarty.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Github Stats [![Python Versions](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/) [![GitHub](https://img.shields.io/github/license/saiyalamarty/gitstats.svg)](https://github.com/saiyalamarty/gitstats/blob/develop/LICENSE)\n\nCommand line tool to get number of PRs reviewed by a user.\n\n## Usage\nUse `--help` to see all options.\n```\n$ gitstats --help\nUsage: gitstats [OPTIONS]\n\n  This script will print the number of PRs reviewed by the user in the given\n  timeframe.\n\nOptions:\n  -t, --token TEXT            Github token\n  -u, --username TEXT         Github username\n  -o, --org TEXT              Github org\n  -r, --repos TEXT            ',' separated github repos\n  -s, --start_timestamp TEXT  Start time in epoch format\n  -e, --end_timestamp TEXT    End time in epoch format\n  --help                      Show this message and exit.\n```\n\nThe script by default attempts to read the options from the environment variables. Set the following environment variables:\n\n* `GITHUB_TOKEN` - GitHub token\n* `GITHUB_USERNAME` - GitHub username\n* `GITHUB_ORGANIZATION` - GitHub organization\n* `GITHUB_REPOS` - Comma separated list of GitHub repositories\n\nIf the environment variables are not set, the script will prompt for the values.\n\nWhen the script is run, it will print the number of PRs reviewed by the user in the last two weeks.\n\n```\n$ gitstats\nRepos ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2/2 • 0:00:06 0:00:00\n\n\n╭───┬───────────┬─────────────────────────────────────────────────────────────────────┬───────╮\n│   │ Repo      │ PR Title                                                            │ PR ID │\n├───┼───────────┼─────────────────────────────────────────────────────────────────────┼───────┤\n│ 0 │ gitrepo_1 │ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiu │ 101   │\n│ 1 │ gitrepo_2 │ Lorem ipsum dolor sit amet, consectetur adipiscing elit,            │ 100   │\n╰───┴───────────┴─────────────────────────────────────────────────────────────────────┴───────╯\n\n                       PRs reviewed between 2022-07-04 and 2022-07-18: 2\n\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaiyalamarty%2Fgithub-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaiyalamarty%2Fgithub-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaiyalamarty%2Fgithub-stats/lists"}