LiteX.Sms.Nexmo 2.0.0

Allow sending texts via Nexmo.
     Wrapper around Nexmo api to send sms messages from any type of application.
     Small library for manage sms with Nexmo. A quick setup for Nexmo Sms.
     Wrapper library is just written for the purpose to bring a new level of ease to the developers who deal with Nexmo integration with your system.
   
     
     LiteXSms is simple yet powerful and very high-performance sms mechanism and incorporating both synchronous and asynchronous usage with some advanced usages which can help us to handle sending sms more easier!
     Provide Sms service for any type of application (.NET Core, .NET Standard).
     Very simple yet advanced configuration. Minimal (one line) code configuration is required.

There is a newer version of this package available.
See the version list below for details.
Install-Package LiteX.Sms.Nexmo -Version 2.0.0
dotnet add package LiteX.Sms.Nexmo --version 2.0.0
<PackageReference Include="LiteX.Sms.Nexmo" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LiteX.Sms.Nexmo --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

LiteX Nexmo Sms

LiteX.Sms.Nexmo is a sms library which is based on LiteX.Sms.Core and Nexmo Sms API.

Allow sending texts via Nexmo.

Wrapper around Nexmo api to send sms messages from any type of application.

Small library for manage sms with Nexmo. A quick setup for Nexmo Sms.

Wrapper library is just written for the purpose to bring a new level of ease to the developers who deal with Nexmo integration with your system.

Basic Usage

Install the package

Install via Nuget.

PM> Install-Package LiteX.Sms.Nexmo
AppSettings
{  
  //LiteX Nexmo Sms settings
  "NexmoConfig": {
    "ApiKey": "--- REPLACE WITH YOUR Nexmo ApiKey ---",
    "ApiSecret": "--- REPLACE WITH YOUR Nexmo ApiSecret ---",
    "ApplicationId": "--- REPLACE WITH YOUR Nexmo ApplicationId ---",
    "ApplicationKey": "--- REPLACE WITH YOUR Nexmo ApplicationKey ---",
    "FromNumber": "--- REPLACE WITH Nexmo From Number ---",
    "EnableLogging": true
  }
}
Configure Startup Class
public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        // 1. Use default configuration from appsettings.json's 'NexmoConfig'
        services.AddLiteXNexmoSms();

        //OR
        // 2. Load configuration settings using options.
        services.AddLiteXNexmoSms(option =>
        {
            option.ApiKey = "";
            option.ApiSecret = "";
            option.ApplicationId = "";
            option.ApplicationKey = "";
            option.FromNumber = "";
            option.EnableLogging = true;
        });

        //OR
        // 3. Load configuration settings on your own.
        // (e.g. appsettings, database, hardcoded)
        var nexmoConfig = new NexmoConfig()
        {
            ApiKey = "",
            ApiSecret = "",
            ApplicationId = "",
            ApplicationKey = "",
            FromNumber = "",
            EnableLogging = true
        };
        services.AddLiteXNexmoSms(nexmoConfig);
        
        
        // add logging (optional)
        services.AddLiteXLogging();
    }
}

Sample Usage Example

Same for all providers.

For more helpful information about LiteX Sms, Please click here.

Coming soon...

  • Voice Sms
  • Bulk Sms

LiteX Nexmo Sms

LiteX.Sms.Nexmo is a sms library which is based on LiteX.Sms.Core and Nexmo Sms API.

Allow sending texts via Nexmo.

Wrapper around Nexmo api to send sms messages from any type of application.

Small library for manage sms with Nexmo. A quick setup for Nexmo Sms.

Wrapper library is just written for the purpose to bring a new level of ease to the developers who deal with Nexmo integration with your system.

Basic Usage

Install the package

Install via Nuget.

PM> Install-Package LiteX.Sms.Nexmo
AppSettings
{  
  //LiteX Nexmo Sms settings
  "NexmoConfig": {
    "ApiKey": "--- REPLACE WITH YOUR Nexmo ApiKey ---",
    "ApiSecret": "--- REPLACE WITH YOUR Nexmo ApiSecret ---",
    "ApplicationId": "--- REPLACE WITH YOUR Nexmo ApplicationId ---",
    "ApplicationKey": "--- REPLACE WITH YOUR Nexmo ApplicationKey ---",
    "FromNumber": "--- REPLACE WITH Nexmo From Number ---",
    "EnableLogging": true
  }
}
Configure Startup Class
public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        // 1. Use default configuration from appsettings.json's 'NexmoConfig'
        services.AddLiteXNexmoSms();

        //OR
        // 2. Load configuration settings using options.
        services.AddLiteXNexmoSms(option =>
        {
            option.ApiKey = "";
            option.ApiSecret = "";
            option.ApplicationId = "";
            option.ApplicationKey = "";
            option.FromNumber = "";
            option.EnableLogging = true;
        });

        //OR
        // 3. Load configuration settings on your own.
        // (e.g. appsettings, database, hardcoded)
        var nexmoConfig = new NexmoConfig()
        {
            ApiKey = "",
            ApiSecret = "",
            ApplicationId = "",
            ApplicationKey = "",
            FromNumber = "",
            EnableLogging = true
        };
        services.AddLiteXNexmoSms(nexmoConfig);
        
        
        // add logging (optional)
        services.AddLiteXLogging();
    }
}

Sample Usage Example

Same for all providers.

For more helpful information about LiteX Sms, Please click here.

Coming soon...

  • Voice Sms
  • Bulk Sms

Release Notes

Logging support.
     Code re-factoring and optimization changes.
     Name changed (ISmsSender replaced by ILiteXSmsSender and ISmsSenderAsync replaced by ILiteXSmsSenderAsync)

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
6.0.0 38 9/20/2019
4.0.0-beta 180 10/2/2018
3.0.0 413 8/5/2018
2.0.0 188 7/3/2018
1.0.0 193 6/21/2018