Skip to content

fork of yahoo-stock by benschwarz. this is written very cleanly and organized --- it uses hpricot too, each piece of content it scrapes is in a different function inside of lib/yahoo-stock/base.rb, nice..

License

mattistrading/yahoo-stock

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Yahoo "API Wrapper"

There is no wrapper for Yahoo's stocks interface, 
here I provided the most grass roots experience possible.

It will get the job done for my purpose and should be fairly
easy to extend. Specs are provided. 


Usage is as follows:

require 'rubygems'
require 'yahoo-stock'
@stock = Yahoo::Stock.new("MGR.AX")
@stock.last_trade => 4.10


If you want additional properties (there is currently only 'last_trade')
Fork the repo, add your own and send it back in. Now thats community!

About

fork of yahoo-stock by benschwarz. this is written very cleanly and organized --- it uses hpricot too, each piece of content it scrapes is in a different function inside of lib/yahoo-stock/base.rb, nice..

Resources

License

Stars

Watchers

Forks

Packages

No packages published