{
"Meta Data": {
"1. Information": "Daily Prices (open, high, low, close) and Volumes",
"2. Symbol": "MSFT",
"3. Last Refreshed": "2018-02-01 10:22:35",
"4. Output Size": "Compact",
"5. Time Zone": "US/Eastern"
},
"Time Series (Daily)": {
"2018-02-01": {
"1. open": "94.7900",
"2. high": "95.8400",
"3. low": "94.2000",
"4. close": "95.3201",
"5. volume": "12137068"
},
"2018-01-31": {
"1. open": "93.7500",
"2. high": "95.4000",
"3. low": "93.5100",
"4. close": "95.0100",
"5. volume": "46348826"
}
}
}
edit: I indented it more for you. JimL
I indented first part so u get an idea how json is presented in my browser extension.
I have no problem puting echo $eco_array[‘Meta Data’][‘2. Symbol’]
give me the symbol data of what i just requested but how to
get down to [‘1. open’] etx I normally never had problem with this arrays but what am i missing?
and im doing this in php after json_decode$dd
:o I hope not too difficult im working on my arrays, but and a side question
if i want to write graphs with the information is it a must to code in js?
And if someone can point me in right direction all i can do with api response
regards
all input is welcome!