PHP code example of radicalloop / yahoo-finance-query
1. Go to this page and download the library: Download radicalloop/yahoo-finance-query 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/ */
radicalloop / yahoo-finance-query example snippets
use DirkOlbrich\YahooFinanceQuery\YahooFinanceQuery;
// [...]
$query = new YahooFinanceQuery;
use DirkOlbrich\YahooFinanceQuery\YahooFinanceQuery;
// [...]
YahooFinanceQuery->make();
$query = new YahooFinanceQuery(array('returnType' => 'json'));