{"id":13409908,"url":"https://github.com/PRCV1/pocketbase-csharp-sdk","last_synced_at":"2025-03-14T15:31:09.412Z","repository":{"id":61719212,"uuid":"546895255","full_name":"PRCV1/pocketbase-csharp-sdk","owner":"PRCV1","description":null,"archived":true,"fork":false,"pushed_at":"2023-11-13T21:17:53.000Z","size":410,"stargazers_count":57,"open_issues_count":6,"forks_count":6,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-07-31T20:39:32.452Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/PRCV1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-10-06T20:34:21.000Z","updated_at":"2024-07-30T02:03:04.000Z","dependencies_parsed_at":"2023-11-13T22:27:08.669Z","dependency_job_id":"662a801a-c11a-40c8-afce-227c14243091","html_url":"https://github.com/PRCV1/pocketbase-csharp-sdk","commit_stats":{"total_commits":89,"total_committers":4,"mean_commits":22.25,"dds":0.2808988764044944,"last_synced_commit":"4d3b749bd95ab6b2d10a4930c889c47fcca463b9"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRCV1%2Fpocketbase-csharp-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRCV1%2Fpocketbase-csharp-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRCV1%2Fpocketbase-csharp-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRCV1%2Fpocketbase-csharp-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PRCV1","download_url":"https://codeload.github.com/PRCV1/pocketbase-csharp-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221477230,"owners_count":16829004,"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":[],"created_at":"2024-07-30T20:01:04.003Z","updated_at":"2024-10-26T00:31:13.802Z","avatar_url":"https://github.com/PRCV1.png","language":"C#","funding_links":[],"categories":["Unofficial PocketBase Clients (SDKs)","C#"],"sub_categories":[],"readme":"PocketBase C# SDK\n======================================================================\nThis project is currently still under development. It is not recommended to use it in a productive environment. Things can and will change.\n\nCommunity-developed C# SDK (Multiplatform) for interacting with the [PocketBase API](https://pocketbase.io/docs)\n\n- [PocketBase C# SDK](#pocketbase-c-sdk)\n- [Installation](#installation)\n  - [Nuget](#nuget)\n- [Usage](#usage)\n- [Development](#development)\n  - [Requirements](#requirements)\n  - [Steps](#steps)\n\n# Installation\n\n## Nuget\n\nComing soon\n\n# Usage\n```c#\n//create a new Client which connects to your PocketBase-API\nvar client = new PocketBase(\"http://127.0.0.1:8090\");\n\n//authenticate as a Admin\nvar admin = await client.Admin.AuthenticateWithPassword(\"test@test.de\", \"0123456789\");\n\n//or as a User\nvar user = await client.User.AuthenticateWithPassword(\"kekw@kekw.com\", \"0123456789\");\n\n//query some data (for example, some restaurants)\n//note that each CRUD action requires a data type which inherits from the base class 'ItemBaseModel'.\nvar restaurantList = await client.Records.ListAsync\u003cRestaurant\u003e(\"restaurants\");\n\n//like this one\nclass Restaurant : ItemBaseModel\n{\n    public string? Name { get; set; }\n}\n```\n\n# Development\n\n## Requirements\n- Visual Studio (Community Edition should work just fine)\n- .NET 6/7 SDK\n\n## Steps\n1. Clone this repository\n```cmd\ngit clone https://github.com/PRCV1/pocketbase-csharp-sdk\n```\n2. Open the [pocketbase-csharp-sdk.sln](pocketbase-csharp-sdk.sln) with Visual Studio (Community Edition should work just fine)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPRCV1%2Fpocketbase-csharp-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPRCV1%2Fpocketbase-csharp-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPRCV1%2Fpocketbase-csharp-sdk/lists"}