Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tamkeen-tms/mobily-sms-api-json
A non-official API client for Mobily.ws SMS service
https://github.com/tamkeen-tms/mobily-sms-api-json
Last synced: about 2 months ago
JSON representation
A non-official API client for Mobily.ws SMS service
- Host: GitHub
- URL: https://github.com/tamkeen-tms/mobily-sms-api-json
- Owner: tamkeen-tms
- License: mit
- Created: 2017-10-11T09:43:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-19T19:36:16.000Z (almost 2 years ago)
- Last Synced: 2024-05-19T01:22:19.375Z (8 months ago)
- Language: PHP
- Size: 21.5 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# What it is
This is a non-official API client for Mobily.ws SMS service. We created it after struggling with their API.
This is another attempt seconding one we already created. This one uses what they call the JSON API at their end!# Usage
Simply create a client:```php
$client = new MobilyAPI\Client(username, password, senderName);
```Then use the request you want:
```php
$newMessage = new MobilyAPI\Requests\SendMessage($client, numbers, message);
$response = $newMessage->send(); // Send the request
$newMessage->sent(); // Tells you if it was sent successfully
```It's very simple and straight forward. Good luck.