biwse/biwse-php

The Biwse PHP library provides access to the Biwse API.

1.0.1 2019-07-30 11:58 UTC

This package is auto-updated.

Last update: 2024-09-29 05:42:21 UTC


README

This API documentation generated from OpenAPI specification.

Requirements

PHP 5.5 and later

Installation

Install library via Composer. Run the following command:

composer require biwse/biwse-php

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer authorization: bearerAuth
$config = Biwse\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Biwse\Api\AppApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$app_id = 'YOUR_APP_ID'; // string | The application identidier
$coin = 'btc'; // string | The wallet identidier

try {
    $result = $apiInstance->createAddress($app_id, $coin);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AppApi->createAddress: ', $e->getMessage(), PHP_EOL;
}

?>

Documentation for API Endpoints

All URIs are relative to https://api.biwse.com/v1