Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 1.79 KB

CurrenciesApi.md

File metadata and controls

63 lines (43 loc) · 1.79 KB

CurrenciesApi

All URIs are relative to https://api.kinow.com/api

Method HTTP request Description
getCurrencies GET /currencies

getCurrencies

\Kinow\Client\Model\CurrencyListResponse1 getCurrencies($page, $per_page)

Get currency list

Example

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

// Configure API key authorization: ApiClientId
Kinow\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Client-Id', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Kinow\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Client-Id', 'Bearer');
// Configure API key authorization: ApiClientSecret
Kinow\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Client-Secret', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Kinow\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Client-Secret', 'Bearer');

$api_instance = new Kinow\Client\Api\CurrenciesApi();
$page = 789; // int | 
$per_page = 789; // int | 

try {
    $result = $api_instance->getCurrencies($page, $per_page);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CurrenciesApi->getCurrencies: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
page int [optional]
per_page int [optional]

Return type

\Kinow\Client\Model\CurrencyListResponse1

Authorization

ApiClientId, ApiClientSecret

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined