Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
radicalloop authored Dec 14, 2017
1 parent 0602202 commit 8f31d7f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,16 @@ Here you can see an example of just how simple this package is to use.

### Stocks API
```php
use Eod;

$stock = Eod::stock();

// JSON
$stock->realTime('AAPL.US')->json();
$stock->eod('AAPL.US')->json();

// Download CSV
$stock->realTime('AAPL.US')->download();
$stock->realTime('AAPL.US' ['s' => ['VTI','EUR','FX']])->download();
$stock->eod('AAPL.US')->download();

// Save CSV to specific path
Expand All @@ -78,6 +80,8 @@ To check other Stock API usages, refer [Test Cases](tests/StockTest.php) here.

### Exchanges API
```php
use Eod;

$exchange = Eod::exchange();

// JSON
Expand Down

0 comments on commit 8f31d7f

Please sign in to comment.