pipinstallpip / onencews
Http client for official 1nce rest api https://api.1nce.com
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 2
Open Issues: 2
pkg:composer/pipinstallpip/onencews
Requires
- guzzlehttp/guzzle: ~6.0
This package is auto-updated.
Last update: 2025-12-14 04:17:28 UTC
README
OnenceWS Http client for official 1nce rest api https://api.1nce.com
Installation
composer require pipinstallpip/onencews:dev-master
Usage
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.