palestine_sms_misr 0.0.9 copy "palestine_sms_misr: ^0.0.9" to clipboard
palestine_sms_misr: ^0.0.9 copied to clipboard

Lightweight SMS Misr gateway implementation in dart (unofficial).

palestine_sms_misr (unofficial) #

Part of PalestineDevelopers #

Lightweight SMS Misr gateway implementation in dart (unofficial).

License Pub Example

PUB GitHub release GitHub stars GitHub forks

Build Status


Table Of Contents #


Features #

  • SMS Misr Implementation for both
    • Message API
    • OTP API

Getting started #

To start, import package

import 'package:palestine_sms_misr/palestine_sms_misr.dart';

Usage #

Create an instance.

PalSMSMisr palSMSMisr = PalSMSMisr(
    userName: 'xxxxxxxx',
    password: 'xxxxxxxx',
    senderName: 'xxxxx',
    language: '2', // 1, 2
    otpToken: 'xxxxxx-xxxx-xxx-xxx-xxxxxx',
    otpSignature: 'xxxxxxxx',
);

Messages API

await palSMSMisr.sendMessage(
    phoneNumbers: 'xxxxxxxxxxx,xxxxxxxxxxx', // Egyptian Phone Number
    message: 'Dev Test',
);

OTP API

await palSMSMisr.sendOTP(
    phoneNumber: 'xxxxxxxxxxx', // Egyptian Phone Number
    code: '12xxx', // optional
);
9
likes
120
pub points
0%
popularity

Publisher

verified publishermsayed.net

Lightweight SMS Misr gateway implementation in dart (unofficial).

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

http

More

Packages that depend on palestine_sms_misr