Hi all,

Is there an API somewhere for fetching lists of accession numbers from NCBI that match some search criteria?

Context: I'd like to use their SRA Toolkit's 'prefetch' functionality (http://www.ncbi.nlm.nih.gov/books/NBK47540/#SRA_Download_Guid_B.The_SRA_Toolkit) to grab a bunch of sra files as part of a larger automated pipeline, but I don't want to have to cut and paste accession numbers one by one from a web-based search.
<p>You mean like <a href="http://www.ncbi.nlm.nih.gov/books/NBK179288/">Entrez Direct</a> or the less user friendly <a href="http://www.ncbi.nlm.nih.gov/books/NBK25501/">eUtils</a>?</p>
