Code to download xml from api on drug structure and pharmaceutical trials some basic multiprocessing and xml parsing