{"id":13431628,"url":"https://github.com/algolia/algoliasearch-client-csharp","last_synced_at":"2026-01-20T17:11:45.274Z","repository":{"id":9439028,"uuid":"11314849","full_name":"algolia/algoliasearch-client-csharp","owner":"algolia","description":"⚡️ A fully-featured and blazing-fast C# API client to interact with Algolia.","archived":false,"fork":false,"pushed_at":"2026-01-13T16:18:39.000Z","size":6713,"stargazers_count":126,"open_issues_count":5,"forks_count":61,"subscribers_count":77,"default_branch":"main","last_synced_at":"2026-01-13T18:38:04.680Z","etag":null,"topics":["algolia","algolia-search","api-client","c-sharp","csharp","dotnet","dotnet-core","dotnet-library","dotnet-standard","search-engine"],"latest_commit_sha":null,"homepage":"https://www.algolia.com/doc/libraries/sdk/install#c%23","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/algolia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2013-07-10T14:52:10.000Z","updated_at":"2026-01-13T16:19:20.000Z","dependencies_parsed_at":"2024-02-25T12:22:43.581Z","dependency_job_id":"761e7f46-b43c-4da6-8836-18eb3d180baa","html_url":"https://github.com/algolia/algoliasearch-client-csharp","commit_stats":null,"previous_names":[],"tags_count":188,"template":false,"template_full_name":null,"purl":"pkg:github/algolia/algoliasearch-client-csharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Falgoliasearch-client-csharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Falgoliasearch-client-csharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Falgoliasearch-client-csharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Falgoliasearch-client-csharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/algolia","download_url":"https://codeload.github.com/algolia/algoliasearch-client-csharp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Falgoliasearch-client-csharp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28607624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"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":["algolia","algolia-search","api-client","c-sharp","csharp","dotnet","dotnet-core","dotnet-library","dotnet-standard","search-engine"],"created_at":"2024-07-31T02:01:04.651Z","updated_at":"2026-01-20T17:11:45.263Z","avatar_url":"https://github.com/algolia.png","language":"C#","readme":"\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.algolia.com\"\u003e\n    \u003cimg alt=\"Algolia for C#\" src=\"https://user-images.githubusercontent.com/22633119/59595424-10d10880-90f6-11e9-9303-823f70b39d6c.png\" \u003e\n  \u003c/a\u003e\n\n\u003ch4 align=\"center\"\u003eThe perfect starting point to integrate \u003ca href=\"https://algolia.com\" target=\"_blank\"\u003eAlgolia\u003c/a\u003e within your .NET project\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.nuget.org/packages/Algolia.Search/\"\u003e\u003cimg src=\"https://img.shields.io/nuget/v/Algolia.Search.svg?style=flat-square\" alt=\"Nuget\"\u003e\u003c/img\u003e\u003c/a\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" alt=\"Licence\"\u003e\u003c/img\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.algolia.com/doc/libraries/sdk/install#c%23\" target=\"_blank\"\u003eDocumentation\u003c/a\u003e  •\n  \u003ca href=\"https://discourse.algolia.com\" target=\"_blank\"\u003eCommunity Forum\u003c/a\u003e  •\n  \u003ca href=\"http://stackoverflow.com/questions/tagged/algolia\" target=\"_blank\"\u003eStack Overflow\u003c/a\u003e  •\n  \u003ca href=\"https://github.com/algolia/algoliasearch-client-csharp/issues\" target=\"_blank\"\u003eReport a bug\u003c/a\u003e  •\n  \u003ca href=\"https://alg.li/support\" target=\"_blank\"\u003eSupport\u003c/a\u003e\n\u003c/p\u003e\n\n## ✨ Features\n\n* Targets .NET Standard: `.NET Standard 2.0` or `.NET Standard 2.1`.\n* For more details about supported .NET implementations, please see .NET Standard official [page](https://docs.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-1).\n* Asynchronous and synchronous methods to interact with Algolia's API.\n* Thread-safe clients.\n* No external dependencies.\n* Typed requests and responses.\n* Injectable HTTP client.\n* Retry strategy \u0026 Helpers.\n\n**Migration note from v5.x to v6.x**\n\n\u003e In January 2019, we released v6 of our .NET client. If you are using version 5.x of the client, read the [migration guide to version 6.x](https://www.algolia.com/doc/libraries/sdk/v1/upgrade/csharp).\nVersion 5.x will **no longer** be under active development.\n\n## 💡 Getting Started\n\nTo get started, first install the Algolia.Search client.\n\nYou can get the last version of the client from [NuGet](https://www.nuget.org/packages/Algolia.Search/).\n\nIf you are using the .NET CLI, you can install the package using the following command:\n\n```bash\ndotnet add package Algolia.Search --version \u003cThe version you want to install\u003e\n```\n\nOr directly in your .csproj file:\n\n```csharp\n\u003cPackageReference Include=\"Algolia.Search\" Version=${versions.csharp} /\u003e\n```\n\nYou can now import the Algolia API client in your project and play with it.\n\n```csharp\nusing Algolia.Search.Clients;\nusing Algolia.Search.Http;\n\nvar client = new SearchClient(new SearchConfig(\"YOUR_APP_ID\", \"YOUR_API_KEY\"));\n\n// Add a new record to your Algolia index\nvar response = await client.SaveObjectAsync(\n  \"\u003cYOUR_INDEX_NAME\u003e\",\n  new Dictionary\u003cstring, string\u003e { { \"objectID\", \"id\" }, { \"test\", \"val\" } }\n);\n\n// Poll the task status to know when it has been indexed\nawait client.WaitForTaskAsync(\"\u003cYOUR_INDEX_NAME\u003e\", response.TaskID);\n\n// Fetch search results, with typo tolerance\nvar response = await client.SearchAsync\u003cObject\u003e(\n  new SearchMethodParams\n  {\n    Requests = new List\u003cSearchQuery\u003e\n    {\n      new SearchQuery(\n        new SearchForHits\n        {\n          IndexName = \"\u003cYOUR_INDEX_NAME\u003e\",\n          Query = \"\u003cYOUR_QUERY\u003e\",\n          HitsPerPage = 50,\n        }\n      )\n    },\n  }\n);\n```\n\nFor full documentation, visit the **[Algolia CSharp API Client](https://www.algolia.com/doc/libraries/sdk/install#c%23)**.\n\n## ❓ Troubleshooting\n\nEncountering an issue? Before reaching out to support, we recommend heading to our [FAQ](https://support.algolia.com/hc/sections/15061037630609-API-Client-FAQs) where you will find answers for the most common issues and gotchas with the client. You can also open [a GitHub issue](https://github.com/algolia/api-clients-automation/issues/new?assignees=\u0026labels=\u0026projects=\u0026template=Bug_report.md)\n\n## Contributing\n\nThis repository hosts the code of the generated Algolia API client for CSharp, if you'd like to contribute, head over to the [main repository](https://github.com/algolia/api-clients-automation). You can also find contributing guides on [our documentation website](https://api-clients-automation.netlify.app/docs/introduction).\n\n## 📄 License\n\nThe Algolia .NET API Client is an open-sourced software licensed under the [MIT license](LICENSE).\n","funding_links":[],"categories":["Frameworks, Libraries and Tools","框架, 库和工具","API Clients","C#"],"sub_categories":["Searching","搜索"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falgolia%2Falgoliasearch-client-csharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falgolia%2Falgoliasearch-client-csharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falgolia%2Falgoliasearch-client-csharp/lists"}