samedi 9 janvier 2016

Downloading XML from NOAA tide prediction site

I'm trying to programmatically access NOAA daily tide prediction data in XML format (i.e. times for high and low tides each day) from a program I am writing. The data is freely available from the NOAA website. The issue is that there does not appear to be a URL to fetch the XML data. Rather, it looks to me like a form button needs to be clicked which in turn runs some JavaScript that downloads the XML file. Is there anyway the daily xml data can be accessed from a WGET or CURL command?

The URL for example tide data is: NOAA URL

The file I am trying to programmatically download is accessed by the Download: XML button on the right hand side.




Aucun commentaire:

Enregistrer un commentaire