Skip to content

dozieogbo/jusibe.net

Repository files navigation

Jusibe.NET

.NET Client Library for Jusibe SMS REST API Service https://jusibe.com

Installation

To get the latest version of Jusibe.NET, on your Package Manager Console, run.

Install-Package Jusibe.NET -Version 1.0.0

Usage

To use the API, you require a public key and access token. These can be gotten from https://dashboard.jusibe.com/api-keys

To initialize, use:

  string publicKey = "--INSERT YOUR PUBLIC KEY--";
  string accessToken = "--INSERT YOUR ACCESS TOKEN--";

  Jusibe jusibe = new Jusibe(publicKey, accessToken);

Available methods for use are:

//Send a message to one number
SendSMSAsync(string from, string to, string message)

//Send message to multiple numbers
SendBulkSMSAsync(string from, List<string> to, string message)

//Check status of bulk SMS message
CheckBulkSMSStatusAsync(string bulkMessageId)

//Check status of SMS
CheckSMSStatusAsync(string messageId)

//Check available credits
CheckAvaliableCreditsAsync()

NB: All methods are asynchronous to avoid blocking of the main thread.

Examples of usage can be found here

How can I thank you?

Why not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter or HackerNews? Spread the word!

Don't forget to follow me on twitter!

Thanks! Chidozie Ogbo.

License

The MIT License (MIT). Please see License File for more information.

About

.NET Client Library for Jusibe SMS REST API Service https://jusibe.com

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages