PHP code example of kukulkan-popolvux / coinspaid-api-php

1. Go to this page and download the library: Download kukulkan-popolvux/coinspaid-api-php library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

kukulkan-popolvux / coinspaid-api-php example snippets


\KukulkanPopolvux\CoinspaidApiPhp\Coinspaid::api()->ping()->getBody();

\KukulkanPopolvux\CoinspaidApiPhp\Coinspaid::api()->run()->getBody();

\KukulkanPopolvux\CoinspaidApiPhp\Coinspaid::api($apiKey, $secretKey, $environment = 'prod')->getListCurrencies()->getBodyObject();

\KukulkanPopolvux\CoinspaidApiPhp\Coinspaid::api($apiKey, $secretKey, $environment = 'prod')->getListCurrencies()->getBody(true);

\KukulkanPopolvux\CoinspaidApiPhp\Coinspaid::api($apiKey, $secretKey, $environment = 'prod')->getListCurrencies()->getData();