PHP code example of jonasof / php-mercadobitcoin-api

1. Go to this page and download the library: Download jonasof/php-mercadobitcoin-api 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/ */

    

jonasof / php-mercadobitcoin-api example snippets


$nonce_method = new JonasOF\PHPMercadoBitcoinAPI\NonceMethods\Timestamp()
$api = new JonasOF\PHPMercadoBitcoinAPI\PHPMercadoBitcoinAPI([
    "TAPI_ID" => "seu_identificador_32_Caracteres",
    "TAPI_PASSWORD" => 'seu_segredo',
], $nonce_method);
$api->getAccountInfo();

composer