{"id":31465623,"url":"https://github.com/stefh/presidio.sdk","last_synced_at":"2026-03-14T05:09:13.056Z","repository":{"id":296514497,"uuid":"991561570","full_name":"StefH/Presidio.SDK","owner":"StefH","description":"Unofficial RestEase C# Client for Microsoft Presidio","archived":false,"fork":false,"pushed_at":"2025-06-10T12:57:55.000Z","size":47,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-10T20:51:18.926Z","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/StefH.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,"zenodo":null}},"created_at":"2025-05-27T20:15:44.000Z","updated_at":"2025-06-11T09:25:05.000Z","dependencies_parsed_at":"2025-05-31T19:36:39.930Z","dependency_job_id":"cc67e038-e86d-4d08-a1f6-9f303e1f6883","html_url":"https://github.com/StefH/Presidio.SDK","commit_stats":null,"previous_names":["stefh/presidio.sdk"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/StefH/Presidio.SDK","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefH%2FPresidio.SDK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefH%2FPresidio.SDK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefH%2FPresidio.SDK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefH%2FPresidio.SDK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StefH","download_url":"https://codeload.github.com/StefH/Presidio.SDK/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefH%2FPresidio.SDK/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277883741,"owners_count":25894167,"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-10-01T02:00:09.286Z","response_time":88,"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":[],"created_at":"2025-10-01T17:57:24.887Z","updated_at":"2025-10-01T17:57:27.066Z","avatar_url":"https://github.com/StefH.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# ![Presidio Logo](./resources/icon_32x32.png) Presidio .NET SDK\nUnofficial [RestEase](https://github.com/canton7/RestEase) C# Client for [Microsoft Presidio](https://microsoft.github.io/presidio/).\n\n## 📦 Presidio.SDK\n[![NuGet Badge](https://img.shields.io/nuget/v/Presidio.SDK)](https://www.nuget.org/packages/Presidio.SDK)\u003cbr\u003e\n\n## 📦 Presidio.SDK.Extensions\n[![NuGet Badge Extensions](https://img.shields.io/nuget/v/Presidio.SDK.Extensions)](https://www.nuget.org/packages/Presidio.SDK.Extensions)\n\n### Extensions\n\n#### `nl` language \n- NlPostCodeRecognizer (*example: 1000 AA*)\n- NlStreetRecognizer (*example: Hoofdstraat 12a*)\n- NlDateRecognizer (*example: 25 maart 2024*)\n- NlBSNRecognizer (*example: 123456782*)\n\n\n## ⭐ Usage\n\n### Register\n\n``` c#\nvar configuration = new ConfigurationBuilder()\n    .SetBasePath(Directory.GetCurrentDirectory())\n    .AddJsonFile(\"appsettings.json\")\n    .AddJsonFile(\"appsettings.Development.json\", optional: true)\n    .Build();\n\nservices.AddPresidioSDK(configuration);\n\nvar serviceProvider = services.BuildServiceProvider();\n```\n\n### Use Analyzer\n\n``` c#\nIPresidioAnalyzer analyzerService = serviceProvider.GetRequiredService\u003cIPresidioAnalyzer\u003e();\n\nvar text =\n    \"\"\"\n    Date1: January 04, 2025 at 06:38 PM\n    John Smith (john@test.com) lives in 127.0.0.1 and his drivers license is AC432223.\n    And for Jane it's AC439999\n    \"\"\";\n\n       \n// Analyze text for PII\nvar analyzeRequest = new AnalyzeRequest\n{\n    Text = text,\n    Language = \"en\",\n    CorrelationId = Guid.NewGuid().ToString()\n};\n\nvar analysisResults = await analyzerService.AnalyzeAsync(analyzeRequest, cancellationToken);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefh%2Fpresidio.sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefh%2Fpresidio.sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefh%2Fpresidio.sdk/lists"}