accestech/sherweb-api

API Interface for Sherweb API

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/accestech/sherweb-api

0.0.1 2020-11-27 21:44 UTC

This package is auto-updated.

Last update: 2025-09-29 02:50:30 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