If you’ve ever wanted to access The Cancer Imaging Archive’s image data via programmatic access then this guide will be of interest. TCIA user Adamos utilized TCIA’s REST API and documented his methodology in an excellent tutorial that is available on his blog.
Python access to the Cancer Imaging Archive (TCIA) through a REST API