Official .NET API Client for the seven SMS Gateway
.NET CLI
dotnet add package sms77-apiPackage Manager
Install-Package sms77-apiPackage Reference
<PackageReference Include="sms77-api" />Paket
paket add sms77-apiF# Interactive
#r "nuget: sms77-api, 1.2.0"using System;
using System.Threading.Tasks;
using Client = Sms77.Api.Client;
class Program
{
static async Task Main()
{
var apiKey = Environment.GetEnvironmentVariable("SMS77_API_KEY");
var client = new Client(apiKey);
var balance = await client.Balance();
Console.WriteLine($"Current account balance: {balance}");
}
}Need help? Feel free to contact us.