{"id":18277577,"url":"https://github.com/przbadu/gc_score","last_synced_at":"2025-04-09T04:36:17.953Z","repository":{"id":79329739,"uuid":"82677552","full_name":"przbadu/gc_score","owner":"przbadu","description":"CLI app for calculating github commit scores from https://api.github.com/users/\u003cgithub_username\u003e/events/public","archived":false,"fork":false,"pushed_at":"2017-02-21T12:57:56.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T22:47:46.784Z","etag":null,"topics":["cli","ruby","ruby-gem"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/przbadu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2017-02-21T12:31:37.000Z","updated_at":"2023-02-14T01:04:41.000Z","dependencies_parsed_at":"2023-02-27T04:45:35.430Z","dependency_job_id":null,"html_url":"https://github.com/przbadu/gc_score","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/przbadu%2Fgc_score","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/przbadu%2Fgc_score/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/przbadu%2Fgc_score/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/przbadu%2Fgc_score/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/przbadu","download_url":"https://codeload.github.com/przbadu/gc_score/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247980830,"owners_count":21027803,"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","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":["cli","ruby","ruby-gem"],"created_at":"2024-11-05T12:19:39.225Z","updated_at":"2025-04-09T04:36:17.477Z","avatar_url":"https://github.com/przbadu.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gc_score\n\nThe API endpoint to fetch the activities for a user on Github is as follows:\n\n[https://api.github.com/users/username/events/public](https://api.github.com/users/username/events/public)\n\nThe JSON response for the above call contains an area of events of different types, and\neach event has a score attached to it.\n\nThe following mapping shows the scores available:\n\n```ruby\n{\n\"IssuesEvent\" =\u003e 7,\n\"IssueCommentEvent\" =\u003e 6,\n\"PushEvent\" =\u003e 5,\n\"PullRequestReviewCommentEvent\" =\u003e 4,\n\"WatchEvent\" =\u003e 3,\n\"CreateEvent\" =\u003e 2\n}\n```\n\n**Write a program in Ruby which would fetch the commit score for a user on Github.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprzbadu%2Fgc_score","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprzbadu%2Fgc_score","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprzbadu%2Fgc_score/lists"}