accestech / sherweb-api
API Interface for Sherweb API
0.0.1
2020-11-27 21:44 UTC
Requires
- php: ^7.4
- ext-json: *
- guzzlehttp/guzzle: 7.0
- nesbot/carbon: ^2.41
Requires (Dev)
- phpunit/phpunit: ^9.4
- squizlabs/php_codesniffer: ^3.5
This package is auto-updated.
Last update: 2025-03-29 00:48:22 UTC
README
This is a crude implantation for the Sherweb API
In the current state, this is more a proof of concept than a library
Example
DO NOT USE IN PRODUCTION YET!
# The package does not exists yet ...
composer require accestech/sherweb-api
<?php require ('vendor/autoload.php'); use Accestech\SherwebApi\SherwebApi; // The only scope currently supported by the API is 'distributor' $api = new SherwebApi('api_client_id', 'api_client_secret', 'scope'); $api->distributor()->getPayableCharges();
Todo
- Error handling
- Unit testing