https://github.com/devmuaz/oursms_flutter
A simple and lightweight package which uses OurSMS service APIs.
https://github.com/devmuaz/oursms_flutter
api-service flutter integration
Last synced: about 2 months ago
JSON representation
A simple and lightweight package which uses OurSMS service APIs.
- Host: GitHub
- URL: https://github.com/devmuaz/oursms_flutter
- Owner: devmuaz
- License: mit
- Created: 2021-06-10T11:11:31.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-15T16:27:23.000Z (over 3 years ago)
- Last Synced: 2025-03-31T17:58:55.544Z (3 months ago)
- Topics: api-service, flutter, integration
- Language: Dart
- Homepage:
- Size: 11.7 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# OurSMS - Flutter
Flutter API Integration
This package provides simple lightweight methods in which you can use to send meesages to a phone number.
For more info, visit [OurSMS](https://oursms.app/) service
## Usage
You can simply use it like so:
```dart
final OursmsClient client = OursmsClient(key: API_KEY, userId: USER_ID);// OSM (One Single Message)
final SentMessage sentMessage = await client.sendOneMessage(
PHONE_NUMBER,
MESSAGE,
);// OTP (One Time Password)
final SentMessage sentMessage = await client.sendOtpMessage(
PHONE_NUMBER,
OTP_NUMBER,
);// Get a message status
final MessageStatus messageStatus = await client.getMessageStatus(MESSAGE_ID);
```## Medium articles by the author
You can always read the articles I write on my [Medium](https://devmuaz.medium.com/) account which I write pretty great Flutter content out there.
## Contributions & Support
Issues and pull requests are always welcome 😄
If you find this package useful for you and liked it, give it a like ❤️ and star the repo ⭐️ it would mean a lot!
## License
**MIT**