Official .NET API Client for the seven SMS Gateway
.NET CLI
dotnet add package sms77-api
Package Manager
Install-Package sms77-api
Package Reference
<PackageReference Include="sms77-api" />
Paket
paket add sms77-api
F# 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.