{"id":17130260,"url":"https://github.com/diegostamigni/rest.cometchat","last_synced_at":"2026-04-28T20:36:50.394Z","repository":{"id":41193245,"uuid":"373790971","full_name":"diegostamigni/Rest.CometChat","owner":"diegostamigni","description":".NET SDK for CometChat REST APIs","archived":false,"fork":false,"pushed_at":"2024-07-09T21:40:38.000Z","size":98,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T04:45:09.509Z","etag":null,"topics":["cometchat","dotnet","sdk"],"latest_commit_sha":null,"homepage":"","language":"C#","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/diegostamigni.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":"2021-06-04T09:32:14.000Z","updated_at":"2021-12-17T14:27:08.000Z","dependencies_parsed_at":"2025-03-24T04:43:53.640Z","dependency_job_id":"e914f8eb-8b36-43b4-a6d2-7345ec41ea17","html_url":"https://github.com/diegostamigni/Rest.CometChat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/diegostamigni/Rest.CometChat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegostamigni%2FRest.CometChat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegostamigni%2FRest.CometChat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegostamigni%2FRest.CometChat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegostamigni%2FRest.CometChat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diegostamigni","download_url":"https://codeload.github.com/diegostamigni/Rest.CometChat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegostamigni%2FRest.CometChat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32398997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cometchat","dotnet","sdk"],"created_at":"2024-10-14T19:11:53.453Z","updated_at":"2026-04-28T20:36:50.367Z","avatar_url":"https://github.com/diegostamigni.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rest.CometChat\nThis is an unofficial .NET (standard) library for [CometChat](https://prodocs.cometchat.com/reference) REST APIs supporting v2 and v3 API versions.\n\n[![.NET](https://github.com/diegostamigni/Rest.CometChat/actions/workflows/dotnet.yml/badge.svg)](https://github.com/diegostamigni/Rest.CometChat/actions/workflows/dotnet.yml)\n\n## Description\nAll APIs are grouped in services:\n * User service\n * Friends service\n * Messages service\n * Groups service\n * Roles service\n * API Keys service\n * Auth Tokens service\n\nAll concrete classes respect a contract (ex. `UserService` -\u003e `IUserService`) making things easier for testing/mocking and people that wants to use dependency injection. All services need at least the `ICometChatConfig` which exposes the following properties:\n * AppId\n * ApiKey\n * Region\n\nBecause this config is strictly dependant on your project, you are supposed to inherit from this contract and provide an implementation upon service construction.\n\n\n### Examples\n\n#### Create user\n```csharp\nvar config = MyConfig(); // inherits from `ICometChatConfig`\nvar userService = new UserService(config);\nvar result = await userService.CreateAsync(new(userUid, userName)\n{\n   Avatar = \"https://example.com/avatar.jpg\",\n   Link  = \"https://userwebsite.example\"\n});\n...\n```\n\n#### List users\n```csharp\nvar config = MyConfig(); // inherits from `ICometChatConfig`\nvar userService = new UserService(config);\nvar result = await userService.ListAsync(); // supports pagination via `ListUserOptions`\n...\n```\n\n### Supported APIs\n- [x] User service\n- [x] Friends service\n- [ ] Messages service\n- [ ] Groups service\n- [ ] Roles service\n- [ ] API Keys service\n- [ ] Auth Tokens service\n\nFeel free to contribute! Support for missing APIs and tests are underway.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegostamigni%2Frest.cometchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiegostamigni%2Frest.cometchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegostamigni%2Frest.cometchat/lists"}