JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q35426F
  • License MIT

SMS SDK Orange Cote d'ivoire (send sms CIV)

Package Exports

  • sms-oci
  • sms-oci/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sms-oci) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

SmsOci

Version

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");