tesouro-direto is a php library and module that retrieves information on Brazilian Public Debt ("Tesouro Direto") bonds and rates.
This library is on beta. Pull Requests are welcome
$ composer require iiiicaro/sentiment-thermometer
<?php
require(__DIR__ . '/../vendor/autoload.php');
use isfonzar\TesouroDireto\TesouroDireto;
$tesouroDireto = new TesouroDireto();
print_r($tesouroDireto->fetch());
PRs are welcome. To begin developing, do this:
$ git clone https://github.com/isfonzar/tesouro-direto.git
$ cd tesouro-direto/
Please use the issue tracker to report any bugs or feature requests.