sms-oci
v1.0.3
Published
SMS SDK Orange Cote d'ivoire (send sms CIV)
Downloads
10
Maintainers
Readme
SmsOci
Simple Node.js Sdk to send sms to a Number in CIV using Orange Côte d'ivoire (OCI) api
Features
- Send Sms to a Phone Number in Ivory Coast
- See Sms Usage (TODO)
- See purchase histoy (TODO)
Installation
npm i --save sms-oci
Usage/Examples
Init SDK
const SmsOciSdk = require("sms-oci");
// Authentication key to get from Orange developer Platform on Orange CIV Sms Api
const authenticationHearder = "ababababababababababg==";
// phone number registered on Orange CIV developer api (Dev Phone Number)
const senderPhoneNumber = "070000000012" ;
const SmsOci = new SmsOciSdk(authenticationHearder, senderPhoneNumber);
Basic send Sms
const SmsOci = new SmsOciSdk(authenticationHearder, senderPhoneNumber);
const recipientPhoneNumber = "0233445566";
SmsOci.sendSmsOci(recipientPhoneNumber, "test message");