Skip to content

Yahoo! Finance quote summaries as delicious, digestible JSON.

License

Notifications You must be signed in to change notification settings

darrowby385/yattaa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

やったー!

Yahoo! Finance quote summaries as delicious, digestible JSON.

This is a humble Ruby script designed to scrape quote summaries from Yahoo! Finance and return them as JSON, ready to feed other hungry scripts that lack the enzyme for digesting HTML.

example

Setup

  1. Clone this repository to your local machine and cd into it.
  2. Run bundle install to install dependencies (if you don't have Bundler, run gem install bundler first).
  3. That's it!

Actually using the thing

From within your local copy of this repository, run ruby yattaa.rb <ticker>, replacing <ticker> with the stock ticker you want to retrieve data for. If you don't get the results you expected, make sure the ticker you've specified matches the format used by Yahoo! Finance.

For example, ruby yattaa.rb CSL.AX will output the quote summary for CSL Limited on the Australian Securities Exchange (ASX). ruby yattaa.rb MSFT will output the quote summary for Microsoft Corporation on the Nasdaq, etc.

Just to be clear

This software and its author are not affiliated, associated, authorized, endorsed by, or in any way officially connected with Yahoo or Verizon Media, any of their subsidiaries, or affiliates. The official Yahoo! Finance website can be found at http://finance.yahoo.com.

For other legal matters, please see the LICENSE file.

About

Yahoo! Finance quote summaries as delicious, digestible JSON.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages