{"id":16515221,"url":"https://github.com/pine/github-contribution-stats","last_synced_at":"2025-10-15T22:28:01.210Z","repository":{"id":72481285,"uuid":"189422980","full_name":"pine/github-contribution-stats","owner":"pine","description":":octocat: GitHub contribution stat utilities.","archived":false,"fork":false,"pushed_at":"2021-04-28T05:51:41.000Z","size":828,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T13:47:18.203Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://bintray.com/pinemz/maven/github-contribution-stats","language":"Java","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/pine.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-30T13:55:30.000Z","updated_at":"2021-04-28T05:51:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"a159f3af-745c-4465-beb0-9617a3f063a1","html_url":"https://github.com/pine/github-contribution-stats","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/pine/github-contribution-stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pine%2Fgithub-contribution-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pine%2Fgithub-contribution-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pine%2Fgithub-contribution-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pine%2Fgithub-contribution-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pine","download_url":"https://codeload.github.com/pine/github-contribution-stats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pine%2Fgithub-contribution-stats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279122308,"owners_count":26108418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"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":[],"created_at":"2024-10-11T16:16:11.049Z","updated_at":"2025-10-15T22:28:01.189Z","avatar_url":"https://github.com/pine.png","language":"Java","readme":"# github-contribution-stats\n\n[![Build Status](https://travis-ci.com/pine/github-contribution-stats.svg?branch=master)](https://travis-ci.com/pine/github-contribution-stats)\n[![codecov](https://codecov.io/gh/pine/github-contribution-stats/branch/master/graph/badge.svg)](https://codecov.io/gh/pine/github-contribution-stats)\n[![Download](https://api.bintray.com/packages/pinemz/maven/github-contribution-stats/images/download.svg)](https://bintray.com/pinemz/maven/github-contribution-stats)\n\n:octocat: GitHub contribution stat utilities.\n\n![](pr/readme.jpg)\u003cbr\u003e\n\u003csup\u003e\u003csup\u003e\u0026copy; PaylessImages/123RF.COM\u003c/sup\u003e\u003c/sup\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n## Requirements\n\n- Java 8 or later\n\n## Getting started\nThe library is published to [jcenter](https://bintray.com/pinemz/maven/github-contribution-stats). Please replace `$latest_version` with [![Download](https://api.bintray.com/packages/pinemz/maven/github-contribution-stats/images/download.svg)](https://bintray.com/pinemz/maven/github-contribution-stats).\n\n```gradle\nrepositories {\n    jcenter()\n}\n\ndepepdencies {\n    implementation \"moe.pine:github-contribution-stats:$latest_version\"\n}\n```\n\n## Usage\n\n```java\nimport moe.pine.github.contribution.stats.ContributionStats;\nimport moe.pine.github.contribution.stats.ContributionStatsClient;\n\nclass Main {\n    public static void main(String ...args) {\n        final ContributionStatsClient client = ContributionStatsClient.create();\n        final ContributionStats stats = client.collect(\"username\");\n\n        System.out.println(stats);\n        // =\u003e ContributionStats{\n        //      contributions=[\n        //        Contribution{ date=2018-10-14, count=3 },\n        //        Contribution{ date=2018-10-15, count=3 }\n        //        Contribution{ date=2018-10-16, count=1 },\n        //        ...\n        //      ],\n        //      currentStreak=Streak{ days=27, start=2019-09-23, end=2019-10-19, unmeasurable=false }, \n        //      longestStreak=Streak{ days=40, start=2019-07-26, end=2019-09-03, unmeasurable=false },\n        //      summary=Summary{\n        //        start=2018-10-14,\n        //        end=2019-10-19,\n        //        total=2888,\n        //        busiestDay=Contribution{ date=2019-07-07, count=108 }\n        //      }\n        //    })\n    }\n}\n```\n\n## Development\n### Test\n\n```bash\n$ ./gradlew clean test\n```\n\n### Upload Bintray\n\n```bash\n$ export BINTRAY_USER=username\n$ export BINTRAY_KEY=apiKey\n$ ./gradlew clean assemble bintrayUpload\n```\n\n## Thanks\nThis library is Java port of [moqada/github-contribution-stats](https://github.com/moqada/github-contribution-stats).\n\n## License\nMIT \u0026copy; [Pine Mizune](https://profile.pine.moe)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpine%2Fgithub-contribution-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpine%2Fgithub-contribution-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpine%2Fgithub-contribution-stats/lists"}