Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/)