Vortex.Communications.Spryng
1.0.1
dotnet add package Vortex.Communications.Spryng --version 1.0.1
NuGet\Install-Package Vortex.Communications.Spryng -Version 1.0.1
<PackageReference Include="Vortex.Communications.Spryng" Version="1.0.1" />
<PackageVersion Include="Vortex.Communications.Spryng" Version="1.0.1" />
<PackageReference Include="Vortex.Communications.Spryng" />
paket add Vortex.Communications.Spryng --version 1.0.1
#r "nuget: Vortex.Communications.Spryng, 1.0.1"
#:package Vortex.Communications.Spryng@1.0.1
#addin nuget:?package=Vortex.Communications.Spryng&version=1.0.1
#tool nuget:?package=Vortex.Communications.Spryng&version=1.0.1
Vortex Spryng Integration
The goal of this package is to expose the Spryng API as a simple to use package.
If you find this project useful, please give it a star. Thanks! ⭐
Getting Started
The easiest way to get started is to install the package:
dotnet add package Vortex.Communications.Spryng
Adding the Spryng client using a token:
services.AddSpryng("YourToken");
Adding the Spryng client using IConfiguration:
services.AddSpryng(configuration, "YourSectionName");
App settings:
{
"YourSectionName": {
"Token": "YourToken",
"BaseAddress": "SpryngBaseAddress"
}
}
Once the client is configured, you can inject the ISpryngApiClient into your class through the constructor.
public class ExampleClass
{
private readonly ISpryngApiClient _client;
public ExampleClass(ISpryngApiClient client)
{
_client = client;
}
public async Task ExampleMethod()
{
var request = new SendSmsRequest
{
Body = "Some Message!",
Originator = "Test",
Recipients = ["+447000000000"],
};
var response = await _client.SendSms(request, CancellationToken.None);
}
}
Technologies
Support
If you are having problems, please let me know by raising a new issue.
License
Feel free to do what you want.
| Product | Versions 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. |
-
net8.0
- Microsoft.Extensions.Http (>= 8.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
- Microsoft.Extensions.Options.DataAnnotations (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.