GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - StanzaAPI/pharma-dscsa-csharp: FDA DSCSA & EU FMD Drug Serialization API (csharp client)

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
Client.cs
Client.cs
 
 
README.md
README.md
 
 
StanzaApi.PharmaDscsa.csproj
StanzaApi.PharmaDscsa.csproj
 
 

Repository files navigation

FDA DSCSA & EU FMD Drug Serialization API — .NET / C# SDK

NuGet version License: MIT Stanza API

US FDA DSCSA 4-element & EU FMD 2D DataMatrix barcode parser, Modulo-10 check digit validator, and NDC-to-GTIN converter in sub-5ms.

Official high-performance .NET client library for FDA DSCSA & EU FMD Drug Serialization API, built on the Stanza Micro-API Network. Fully compatible with .NET Standard 2.0, .NET 6.0, .NET 7.0, and .NET 8.0+.

  • 🌐 Online Interactive Sandbox: Test your inputs live
  • 📚 API Reference & Schemas: View documentation on Stanza
  • ⚡ Platform Overview: Explore the Stanza Developer Network

📦 Installation

dotnet add package StanzaApi.PharmaDscsa

🚀 Quickstart

using System;
using System.Threading.Tasks;
using StanzaApi.PharmaDscsa;

class Program
{
    static async Task Main()
    {
        // Initialize client (reads STANZA_API_KEY from environment if not passed)
        var client = new PharmaDscsaClient();

        // Perform deterministic verification
        string responseJson = await client.ValidateAsync("(01)00300012345678(21)100000000001(17)261231(10)LOT12345");
        Console.WriteLine(responseJson);
    }
}

📄 Example Response

{
  "success": true,
  "data": {
    "gtin": "00300012345678",
    "serial_number": "100000000001",
    "expiration_date": "2026-12-31",
    "lot_number": "LOT12345"
  }
}

⚙️ Configuration

Pass options directly to the PharmaDscsaClient constructor:

var client = new PharmaDscsaClient(
    apiKey: "your_api_key_here",
    baseUrl: "https://api.stanzaapi.com/pharma-dscsa"
);

🔗 Useful Links

  • FDA DSCSA & EU FMD Drug Serialization API Interactive Sandbox
  • Stanza Developer Directory
  • Source Code & Issue Tracker

📄 License

MIT © Stanza — Powered by Stanza.

About

FDA DSCSA & EU FMD Drug Serialization API (csharp client)

stanzaapi.com/tools/pharma-dscsa

Topics

api-clientcsharpdscsaepcisfdafmdgs1healthcarepharmaceuticalrest-apisdkserializationsgtinstanzaapi

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.