SafeRx 2.0.2

dotnet add package SafeRx --version 2.0.2
                    
NuGet\Install-Package SafeRx -Version 2.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SafeRx" Version="2.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SafeRx" Version="2.0.2" />
                    
Directory.Packages.props
<PackageReference Include="SafeRx" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SafeRx --version 2.0.2
                    
#r "nuget: SafeRx, 2.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SafeRx@2.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SafeRx&version=2.0.2
                    
Install as a Cake Addin
#tool nuget:?package=SafeRx&version=2.0.2
                    
Install as a Cake Tool

SafeRx

Signed .NET client for the SafeRx Enterprise API.

<PackageReference Include="SafeRx" Version="2.0.2" />
using SafeRx;

using var http = new HttpClient();
var client = new SafeRxClient(
    http,
    new Uri("https://saferx.online/api/enterprise/v1"),
    Environment.GetEnvironmentVariable("SAFERX_API_KEY")!
);

var result = await client.RequestAsync(
    "enterprise_safety_check",
    new {
        locale = "en",
        medications = new[] { new { input_text = "Augmentin 1g" } },
        requested_domains = new[] { "ddi" }
    },
    idempotencyKey: "safety-check-001"
);

Full docs: https://docs.saferx.online

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.2 90 8/15/2026
2.0.1 129 7/26/2026
1.4.6 215 6/2/2026
1.4.5 213 6/2/2026
1.4.4 210 6/2/2026
1.4.3 239 4/19/2026
1.4.2 228 4/19/2026
1.4.1 239 4/19/2026
1.4.0 263 3/29/2026
1.3.0 266 3/25/2026
1.2.1 270 3/25/2026
1.2.0 265 3/25/2026
1.1.0 275 3/24/2026
1.0.0 280 3/19/2026
0.0.7 278 3/19/2026
0.0.6 277 3/17/2026
0.0.5 312 2/17/2026
0.0.4 285 2/17/2026
0.0.3 293 2/17/2026
0.0.2 301 2/17/2026
Loading failed