The above commands give back list of XML data files in the result. To access each of those files you need to pass user name and password which has been separately supplied.
One of the following methods can be used to provide authentication and download files in a single step:
- wget –user –password URL
- Or using curl –user name:password URL
- if you use ruby then following is a very popular library that you can use: https://github.com/typhoeus/typhoeus