{"id":15409964,"url":"https://github.com/havendv/veryfi-csharp","last_synced_at":"2025-03-28T02:46:52.272Z","repository":{"id":98541531,"uuid":"392827310","full_name":"HavenDV/veryfi-csharp","owner":"HavenDV","description":"This is the official C# client library for communicating with the Veryfi OCR API.","archived":false,"fork":false,"pushed_at":"2021-08-12T23:54:23.000Z","size":1125,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-19T20:07:10.521Z","etag":null,"topics":["api","csharp","invoice","ocr","receipt","sdk-csharp","veryfi","veryfi-api"],"latest_commit_sha":null,"homepage":"https://www.veryfi.com","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/HavenDV.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-08-04T21:20:43.000Z","updated_at":"2021-08-12T23:49:31.000Z","dependencies_parsed_at":"2023-05-29T10:45:53.041Z","dependency_job_id":null,"html_url":"https://github.com/HavenDV/veryfi-csharp","commit_stats":{"total_commits":31,"total_committers":1,"mean_commits":31.0,"dds":0.0,"last_synced_commit":"ac2a5edd298ed4f61f9b3bb71629c76277a56b45"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2Fveryfi-csharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2Fveryfi-csharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2Fveryfi-csharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2Fveryfi-csharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HavenDV","download_url":"https://codeload.github.com/HavenDV/veryfi-csharp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245960648,"owners_count":20700777,"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":["api","csharp","invoice","ocr","receipt","sdk-csharp","veryfi","veryfi-api"],"created_at":"2024-10-01T16:42:09.765Z","updated_at":"2025-03-28T02:46:52.242Z","avatar_url":"https://github.com/HavenDV.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Veryfi C# Client Library\n\n![Veryfi Logo](https://cdn.veryfi.com/logos/veryfi-logo-wide-github.png)\n\n[![Language](https://img.shields.io/badge/language-C%23-blue.svg?style=flat-square)](https://github.com/HavenDV/veryfi-csharp/search?l=C%23\u0026o=desc\u0026s=\u0026type=Code) \n[![License](https://img.shields.io/github/license/HavenDV/veryfi-csharp.svg?label=License\u0026maxAge=86400)](LICENSE) \n[![Requirements](https://img.shields.io/badge/Requirements-.NET%20Standard%202.0-blue.svg)](https://github.com/dotnet/standard/blob/master/docs/versions/netstandard2.0.md) \n[![Requirements](https://img.shields.io/badge/Requirements-.NET%20Framework%204.5-blue.svg)](https://github.com/microsoft/dotnet/tree/master/releases/net45) \n[![Build Status](https://github.com/HavenDV/veryfi-csharp/workflows/.NET/badge.svg?branch=master)](https://github.com/HavenDV/veryfi-csharp/actions/workflows/dotnet.yml)\n\n**Veryfi** is a C# Client Library for communicating with the [Veryfi OCR API](https://veryfi.com/api/)\n\n## Getting Started\n\n### Obtaining Client ID and user keys\nIf you don't have an account with Veryfi, please go ahead and \nregister here: [https://hub.veryfi.com/signup/api/](https://hub.veryfi.com/signup/api/)\n\n### Documentation\n[OpenAPI 3 Specification](https://app.swaggerhub.com/apis/HavenDV/Veryfi/)\n\n## Nuget\n\n[![NuGet](https://img.shields.io/nuget/dt/Veryfi.svg?style=flat-square\u0026label=Veryfi)](https://www.nuget.org/packages/Veryfi/)\n\n```\nInstall-Package Veryfi\n```\n\n## Usage\n\n```cs\nusing Veryfi;\n\nusing var client = new HttpClient();\nvar api = new VeryfiApi(\"username\", \"apiKey\", \"clientId\", client);\n\n// Process Base64\nvar document = await api.ProcessDocumentAsync(\n    new DocumentUploadOptions\n    {\n        File_name = \"fileName.jpg\",\n        File_data = Convert.ToBase64String(bytes),\n    });\n\n// Process url\nvar document = await api.ProcessDocumentAsync(\n    new DocumentUploadOptions\n    {\n        File_url = \"https://raw.githubusercontent.com/HavenDV/veryfi-csharp/master/src/tests/Veryfi.IntegrationTests/Assets/receipt_public.jpg\",\n    });\n\n// Process urls\nvar document = await api.ProcessDocumentAsync(\n    new DocumentUploadOptions\n    {\n        File_urls = new [] {\n            \"https://raw.githubusercontent.com/HavenDV/veryfi-csharp/master/src/tests/Veryfi.IntegrationTests/Assets/receipt_public.jpg\",\n        },\n    });\n\n// Process stream\nvar document = await api.ProcessDocumentFileAsync(\n    new Stream(),\n    new DocumentUploadOptions\n    {\n        File_name = \"fileName.jpg\",\n    });\n\n// Process bytes\nvar document = await api.ProcessDocumentFileAsync(\n    new byte[0],\n    new DocumentUploadOptions\n    {\n        File_name = \"fileName.jpg\",\n    });\n\n// Process path\nvar document = await api.ProcessDocumentFileAsync(\n    \"C:/invoice.png\",\n    new DocumentUploadOptions\n    {\n        // any custom options, File_name is not required.\n    });\n\n//\n```\n\n## Live Example\n\nC# .NET Fiddle - https://dotnetfiddle.net/voU3yG  \nVB.NET .NET Fiddle - https://dotnetfiddle.net/4B8z6n  \n\n## Developers\nThe code is generated using https://github.com/RicoSuter/NSwag  \nNuGet packages are released and versioned automatically. \nAny commit with the `feat:`/`fix:`/`perf:` prefix will release a new version of the package \n(according to https://www.conventionalcommits.org/en/v1.0.0/).\n\n## Need help?\nIf you run into any issue or need help installing or using the library, please contact support@veryfi.com.\n\nIf you found a bug in this library or would like new features added, then open an issue or pull requests against this repo!\n\nTo learn more about Veryfi visit https://www.veryfi.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhavendv%2Fveryfi-csharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhavendv%2Fveryfi-csharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhavendv%2Fveryfi-csharp/lists"}