yahoo python library code example
Example: yahoo finance api python
# Python 2 only
# Install package with 'pip install yahoo-finance'
from yahoo_finance import Share
yahoo = Share('YHOO')
print yahoo.get_open()
print yahoo.get_price()
print yahoo.get_trade_datetime()