8000 GitHub - izatop/smsaero-v2: SMSAero v2 API client
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

izatop/smsaero-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMSAero V2

SMSAero V2 client written in TypeScript.

Install

npm i smsaero-v2 or yarn add smsaero-v2

Usage

Sending sms example:

import {Client, Message} from "smsaero-v2";

// create a client instance with login/key
// and pass a timeout option (optional)
const client = new Client("login", "key", {timeout: 15000});
(async function () {
	const res = await api.send(new Message({
	  sign: "SMS Aero",
	  number: "79991112233", // num or [num1, num2, ...numN]
	  text: "Test message"
	}));

	console.log(res)
})();

Output format described in interfaces or SMSAero documentation.

API

See TypeScript interfaces.

About

SMSAero v2 API client

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0