[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] retreiving data
From: |
Ray Satiro |
Subject: |
Re: [Bug-wget] retreiving data |
Date: |
Sat, 10 May 2014 16:55:22 -0400 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
On 5/10/2014 3:49 PM, PeCoNe wrote:
I need to get the quote data from the next site:
https://indices.nyx.com/en/products/indices/NL0000000107-XAMS/quotes
after wget there are no quotes in the output file.
Why?
You mean the 'view data' tab? When I click that a request is made to:
https://indices.nyx.com/sites/indices.nyx.com/modules/common/common_listings/custom/nyx_eu_listings/nyx_eu_listings_price_chart/pricechart/pricechart.php?q=intraday_data&from=1399593600000&isin=NL0000000107&mic=XAMS&dateFormat=d/m/Y&locale=null
You'll have to adjust the timestamp in 'from'. JSON is returned with an
array of objects for day n. You could parse it.
{
"ISIN": "NL0000000107",
"MIC": "NYSE Euronext Amsterdam",
"tradeId": 0,
"isCanceled": "0.00",
"dateAndTime": "09\/05\/2014 09:00:03",
"price": "402.31",
"numberOfShares": "0.00",
"TRADE_QUALIFIER": "Automatic indicative index",
"timeZone": "CEST",
"currency": "EUR"
},