1.1.1 • Published 2 months ago

sms1-ir v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

SMS1.ir API

sms1-ir allows you to communicate with the SMS1.ir API to send SMS messages. The API key for your SMS1.ir accounts is required to create a new instance of the Sms1ir class.

Installation

This package is available on npm as sms1-ir. You can install it using either npm or yarn.

With npm:

npm install sms1-ir

With yarn:

yarn add sms1-ir

Using

To use this class in your Javascript or Typescript code, first import it:

import { Sms1ir } from "sms1-ir";

Then create a new instance of the Sms1ir class using your SMS1.ir API key.

const sms = new Sms1ir("YOUR_COMMON_API_KEY", "YOUR_PATTERN_API_KEY");

Then you can use the methods of the Sms1ir class to interact with the SMS1.ir API. For example, to send a single SMS message to a single recipient:

sms.send("Hi Sir!", "RECIPIENT_MOBILE_NUMBER");
1.1.1

2 months ago

1.1.0

2 months ago

1.0.4

3 months ago

1.0.3

3 months ago