Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

IATA Air Cargo AWB & Aviation Validator — .NET / C# SDK

NuGet version License: MIT Stanza API

Validate IATA Resolution 600a Air Waybills (11-digit MOD-7), e-tickets, and airline accounting prefixes in sub-5ms.

Official high-performance .NET client library for IATA Air Cargo AWB & Aviation Validator, built on the Stanza Micro-API Network. Fully compatible with .NET Standard 2.0, .NET 6.0, .NET 7.0, and .NET 8.0+.


📦 Installation

dotnet add package StanzaApi.IataValidator

🚀 Quickstart

using System;
using System.Threading.Tasks;
using StanzaApi.IataValidator;

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

        // Perform deterministic verification
        string responseJson = await client.ValidateAsync("020-12345675");
        Console.WriteLine(responseJson);
    }
}

📄 Example Response

{
  "success": true,
  "data": {
    "valid": true,
    "prefix": "020",
    "airline": "Lufthansa Cargo",
    "serial_number": "1234567",
    "check_digit": 5
  }
}

⚙️ Configuration

Pass options directly to the IataValidatorClient constructor:

var client = new IataValidatorClient(
    apiKey: "your_api_key_here",
    baseUrl: "https://api.stanzaapi.com/iata-validator"
);

🔗 Useful Links

📄 License

MIT © Stanza — Powered by Stanza.

About

IATA Air Cargo AWB & Aviation Validator (MOD-7, 600a, 722e) (csharp client)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages