To generate the Data Link for querying results directly from scripts and automated processes: make all selections, check "Generate Query Result Link Only" next to the "Submit Query" button, and click "Submit Query".
Example Daily Data Graph: single location, two years, two data parameters, and one 10 year average parameter.