PHP code example of marsapp / financegrab

1. Go to this page and download the library: Download marsapp/financegrab 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/ */

    

marsapp / financegrab example snippets


$g = new \marsapp\grab\finance\Grab();

$date = '2018-11-09';
$type = 'MS';

$data = $g->grab($date, $type);