cbatista8a / qvapay-api-client
QvaPay PHP Api Client
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
Type:package
Requires
- php: >=7.2
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: >=7.2
Requires (Dev)
- friendsofphp/php-cs-fixer: >=2.12
- phpunit/phpunit: >=8.0
This package is auto-updated.
Last update: 2024-10-17 04:45:52 UTC
README
QvaPay PHP Api Client
Installation & Usage
Requirements
PHP 7.2 and later.
Composer
To install the bindings via Composer.
Run composer require cbatista8a/qvapay-api-client
Manual Installation
Download the files and include autoload.php
:
<?php require_once('/path/to/QvaPay/vendor/autoload.php');
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); $apiInstance = new QvaPay\Api( // 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() ); $app_id = 'app_id_example'; // string | App ID $app_secret = 'app_secret_example'; // string | App Secret try { $result = $apiInstance->auth($app_id, $app_secret); print_r($result); } catch (Exception $e) { echo 'Exception when calling Api->auth: ', $e->getMessage(), PHP_EOL; }
API Endpoints
All URIs are relative to https://qvapay.com/api/v1
Models
Authorization
All endpoints do not require authorization.
Tests
To run the tests, use:
composer install vendor/bin/phpunit
Author
About this package
This PHP package is automatically generated by the OpenAPI Generator project:
- API version:
1.0.0
- Package version:
1.0.0
- Package version:
- Build package:
org.openapitools.codegen.languages.PhpClientCodegen