Project PRJEB99111 has 147 samples. I want to download the metadata (age, sex, disease status, etc) of each sample, not fastq. The only way I can download the metadata is by downloading the xml file of each sample accession one by one - is there a way to bulk download all 147 metadata files? I can work with xml files if I have to.  

You can view the metadata for a specific sample accession by clicking on the"attributes" tab. Here is an example for one sample:  [https://www.ebi.ac.uk/ena/data/view/SAMEA104228123][1] 


  [1]: https://www.ebi.ac.uk/ena/data/view/SAMEA104228123
Using NCBI eUtils: `esearch -db bioproject -query "PRJEB99111" | elink -target biosample | efetch -format docsum | xtract -pattern DocumentSummary -block Attribute -element Attribute`

produces (only a sample below)

    2017-08-28	2017-08-26	ERS1887138	female	44	years	UBERON:feces	UBERON:feceUBERON:feces	UCSF	2013-09-25	Missing: Not provided	RRMS	MS	TRUE	124	urban biome	human-associated habitat	feces	human-gut	No	USA:CA:San Francisco	Missing: Not provided	Missing: Not provided	Homo sapiens	111	9606	Missing: Not provided	mimarks-survey	37.76	adult	-122.46	UCSF	FALSE	1	stool	1	Missing: Not provided	1	1_a	No	Gut dysbiosis in patients with multiple sclerosis is characterized by bacteria that regulate T lymphocyte differentiation in vitro	No_Treatment	Off	Missing: Not provided	Missing: Not provided	dry	1990
    2017-08-28	2017-08-26	ERS1887137	male	61	years	UBERON:feces	UBERON:feceUBERON:feces	UCSF	Missing: Not provided	Missing: Not provided	RRMS	MS	TRUE	124urban biome	human-associated habitat	feces	human-gut	No	USA:CA:San FranciscMissing: Not provided	Missing: Not provided	Homo sapiens	62	9606	Missing: Not provided	mimarks-survey	37.76	adult	-122.46	UCSF	FALSE	1	stool	2	Missing: Not provided	1	1_a	No	Gut dysbiosis in patients with multiple sclerosis is characterized by bacteria that regulate T lymphocyte differentiation in vitro	No_Treatment	Off	Missing: Not provided	Missing: Not provided	dry	1984