{"id":15964806,"url":"https://github.com/general-cbic/codestats_api","last_synced_at":"2025-07-27T08:04:34.192Z","repository":{"id":207331752,"uuid":"717681190","full_name":"general-CbIC/codestats_api","owner":"general-CbIC","description":"Client for Code::Stats (https://codestats.net/)","archived":false,"fork":false,"pushed_at":"2025-06-02T09:35:04.000Z","size":109,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-07-19T07:49:50.378Z","etag":null,"topics":["api-client","codestats","elixir"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/general-CbIC.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"github":"general-CbIC"}},"created_at":"2023-11-12T08:20:27.000Z","updated_at":"2025-06-02T09:35:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"e2b8296b-0aa9-4533-8ff5-3b9683e7b244","html_url":"https://github.com/general-CbIC/codestats_api","commit_stats":{"total_commits":48,"total_committers":3,"mean_commits":16.0,"dds":0.5,"last_synced_commit":"b1f0c29c2428d886dca212f6d58299b8e27daffb"},"previous_names":["general-cbic/codestats_api"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/general-CbIC/codestats_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/general-CbIC%2Fcodestats_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/general-CbIC%2Fcodestats_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/general-CbIC%2Fcodestats_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/general-CbIC%2Fcodestats_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/general-CbIC","download_url":"https://codeload.github.com/general-CbIC/codestats_api/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/general-CbIC%2Fcodestats_api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267327534,"owners_count":24069442,"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-07-27T02:00:11.917Z","response_time":82,"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":["api-client","codestats","elixir"],"created_at":"2024-10-07T17:21:05.001Z","updated_at":"2025-07-27T08:04:34.186Z","avatar_url":"https://github.com/general-CbIC.png","language":"Elixir","funding_links":["https://github.com/sponsors/general-CbIC"],"categories":[],"sub_categories":[],"readme":"# CodestatsAPI\n\n![Build and tests workflow](https://github.com/general-CbIC/codestats_api/actions/workflows/ci-tests.yml/badge.svg)\n[![hex.pm version](https://img.shields.io/hexpm/v/codestats_api.svg?style=flat)](https://hex.pm/packages/codestats_api)\n[![Hex Docs](https://img.shields.io/badge/hex-docs-lightgreen.svg?style=flat)](https://hexdocs.pm/codestats_api/)\n[![License](https://img.shields.io/hexpm/l/codestats_api.svg?style=flat)](https://github.com/general-CbIC/codestats_api/blob/main/LICENSE)\n[![Total Download](https://img.shields.io/hexpm/dt/codestats_api.svg?style=flat)](https://hex.pm/packages/codestats_api)\n\nElixir library for making requests to [Code::Stats](https://codestats.net/). Why not?\n\n## Requirements table\n\n| CodestatsAPI | Elixir  | Erlang |\n|--------------|---------|--------|\n| \u003c= 0.2.0     | \u003e= 1.10 | \u003e= 23  |\n| \u003e= 0.3.0     | \u003e= 1.18 | \u003e= 25  |\n\n## Installation\n\nAdd `:codestats_api` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:codestats_api, \"~\u003e 0.3.0\"}\n  ]\nend\n```\n\n## Usage\n\n### Get user's Stats\n\n```elixir\n{:ok, %CodestatsAPI.Stats{}} = CodestatsAPI.get_user_data(\"username\")\n```\n\nThat's all :)\nA detailed description of the `Stats` structure can be found [here](https://hexdocs.pm/codestats_api/CodestatsAPI.Stats.html).\n\n## Contributions\n\nIf you feel something can be improved or have any questions about specific behaviors or pieces of implementation, please feel free to file an issue. Proposed changes should be taken to issues before any PRs to save time on code that might not be merged upstream.\n\nIf you are ready to change the project, please read the [Contributing guide](CONTRIBUTING.md) first.\n\n## 1.0.0 Roadmap\n\n- [x] Interface to get user's stats\n- [ ] Interface to push updates\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeneral-cbic%2Fcodestats_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeneral-cbic%2Fcodestats_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeneral-cbic%2Fcodestats_api/lists"}