{"id":31381650,"url":"https://github.com/dojo-engineering/dojo.net","last_synced_at":"2025-09-28T10:40:37.947Z","repository":{"id":65374868,"uuid":"484434880","full_name":"dojo-engineering/Dojo.Net","owner":"dojo-engineering","description":"The official Dojo .NET library, supporting .NET Standard 2.0+, .NET Core 2.0+, and .NET Framework 4.6.1+.","archived":false,"fork":false,"pushed_at":"2025-03-14T16:39:30.000Z","size":109,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-09-28T02:27:54.556Z","etag":null,"topics":["csharp","dotnet","dotnet-core","dotnetcore"],"latest_commit_sha":null,"homepage":"","language":"Liquid","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/dojo-engineering.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-22T13:00:25.000Z","updated_at":"2025-03-14T16:37:57.000Z","dependencies_parsed_at":"2025-03-14T18:16:02.393Z","dependency_job_id":null,"html_url":"https://github.com/dojo-engineering/Dojo.Net","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/dojo-engineering/Dojo.Net","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dojo-engineering%2FDojo.Net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dojo-engineering%2FDojo.Net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dojo-engineering%2FDojo.Net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dojo-engineering%2FDojo.Net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dojo-engineering","download_url":"https://codeload.github.com/dojo-engineering/Dojo.Net/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dojo-engineering%2FDojo.Net/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277359048,"owners_count":25804804,"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-09-28T02:00:08.834Z","response_time":79,"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":["csharp","dotnet","dotnet-core","dotnetcore"],"created_at":"2025-09-28T10:40:37.198Z","updated_at":"2025-09-28T10:40:37.937Z","avatar_url":"https://github.com/dojo-engineering.png","language":"Liquid","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dojo.Net\n\n[![NuGet](https://img.shields.io/nuget/v/dojo.net.svg)](https://www.nuget.org/packages/Dojo.net/)\n\nThe official [Dojo][dojo] .NET library, supporting .NET Standard 2.0+, .NET Core 2.0+, and .NET Framework 4.6.1+.\n\n## Installation\n\nUsing the [.NET Core command-line interface (CLI) tools][dotnet-core-cli-tools]:\n\n```sh\ndotnet add package Dojo.Net\n```\n\nUsing the [NuGet Command Line Interface (CLI)][nuget-cli]:\n\n```sh\nnuget install Dojo.Net\n```\n\nUsing the [Package Manager Console][package-manager-console]:\n\n```powershell\nInstall-Package Dojo.Net\n```\n\nFrom within Visual Studio:\n\n1. Open the Solution Explorer.\n2. Right-click on a project within your solution.\n3. Click on *Manage NuGet Packages...*\n4. Click on the *Browse* tab and search for \"Dojo.Net\".\n5. Click on the Dojo.Net package, select the appropriate version in the\n   right-tab and click *Install*.\n\n## Build source code\n\nIn order to build, NET30+ is required. Do the following:\n\n1. Go to `src` subfolder\n2. Run:\n\n```sh\ndotnet build\n```\n\n## Documentation\n\nFor a comprehensive list of APIs and examples, check out the [API\ndocumentation][api-docs].\n\n## Usage\n\n```c#\nDojo.Net.PaymentIntentsClient client = new PaymentIntentsClient(\n    new HttpClient(),\n    new ApiKeyClientAuthorization(apiKey));\n```\n\n### Use it as .net service\n\n```c#\nbuilder.Services.AddSingleton\u003cIClientAuthorization\u003e(new ApiKeyClientAuthorization(apiKey));\nbuilder.Services.AddHttpClient\u003cIPaymentIntentsClient, PaymentIntentsClient\u003e();\n```\n\n### Automatic retries\n\nThe library does not automatically retries requests on intermittent failures like on a\nconnection error. We suggest you use [Polly][polly] library to setup retry policy.\n\n```c#\nbuilder.Services\n    .AddHttpClient\u003cIPaymentIntentsClient, PaymentIntentsClient\u003e()\n    .AddTransientHttpErrorPolicy(\n        x =\u003e x.WaitAndRetryAsync(3, retryAttempt =\u003e TimeSpan.FromSeconds(Math.Pow(3, retryAttempt))));\n```\n\nFor any requests, bug or comments, please [open an issue][issues] or [submit a\npull request][pulls].\n\n[api-docs]: https://docs.dojo.tech/payments/api\n[dotnet-core-cli-tools]: https://docs.microsoft.com/en-us/dotnet/core/tools/\n[issues]: https://github.com/dojo-engineering/Dojo.Net/issues\n[nuget-cli]: https://docs.microsoft.com/en-us/nuget/tools/nuget-exe-cli-reference\n[package-manager-console]: https://docs.microsoft.com/en-us/nuget/tools/package-manager-console\n[pulls]: https://github.com/dojo-engineering/Dojo.Net/pulls\n[dojo]: https://dojo.tech\n[polly]: https://docs.microsoft.com/en-us/dotnet/architecture/microservices/implement-resilient-applications/implement-http-call-retries-exponential-backoff-polly","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdojo-engineering%2Fdojo.net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdojo-engineering%2Fdojo.net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdojo-engineering%2Fdojo.net/lists"}