import requests
import os

 
API_KEY = 'demo'
r = requests.get('https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=MSFT&apikey=' + API_KEY)
if (r.status_code == 200):
    #print r.json()
    result = r.json
    
    
a = 1    