Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pipinstallpip/1nce
OnenceWS Http client for official 1nce rest api https://api.1nce.com
https://github.com/pipinstallpip/1nce
1nce 1nce-product client client-lib client-library http-client php php-library php7
Last synced: about 2 months ago
JSON representation
OnenceWS Http client for official 1nce rest api https://api.1nce.com
- Host: GitHub
- URL: https://github.com/pipinstallpip/1nce
- Owner: pipinstallpip
- License: mit
- Created: 2020-03-13T12:18:04.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-03T13:05:46.000Z (almost 2 years ago)
- Last Synced: 2024-04-22T05:50:47.984Z (9 months ago)
- Topics: 1nce, 1nce-product, client, client-lib, client-library, http-client, php, php-library, php7
- Language: PHP
- Homepage:
- Size: 6.84 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OnenceWS
OnenceWS Http client for official 1nce rest api https://api.1nce.com
## Installation
```bash
composer require pipinstallpip/onencews:dev-master
```## Usage
```php
use pipinstallpip\onencews\OnenceWS;$clientId = 'yourclientid';
$clientSecret = 'yoursecretkey';$api = new OnenceWS($clientId,$clientSecret);
$response = $api->getSimsList(); //return all sims
print_r($response);
```
### Class methods- getSimsList
- getSimReachibility
- getSimUsage
- getSimRemainingData
- getSimRemainingSms
- getSmsList
- getSimInfo
- getSimStatus
- getSimEvents
- getSmsDetails
- sendSms
- resetSim
- changeSimState
- deleteSpecificSms## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.
## License
[MIT](https://choosealicense.com/licenses/mit/)