-
Notifications
You must be signed in to change notification settings - Fork 2
benmills/cake-stock-data
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A Simple CakePHP component that using cURL to grab stock data form Yahoo. More info on how to modify what data is coming through can be found here: http://www.gummy-stuff.org/Yahoo-data.htm Installation 1. Place stocks.php in app/controllers/components/ 2. In the controller you are working with make sure to add Stocks to the components array. (I.E. var $components = array('Stocks');) Usage Pass the 'get' function an array of stock symbols: $this->Stocks->get(array('AAPL')); And you should receive an array that looks like this: Array ( [0] => Array ( [symbol] => "AAPL" [change] => "-1.31" [current] => 203.91 ) )
About
CakePHP Stock Data Component
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published