Download CIF files using MP new API

I’m trying to get CIF files using the API and and create different files, but I’m getting stuck with it. Can someone help me!
Thank you. ["mp-149", "mp-4163"], fields=["structure"]) 
for i in range(len(mids)):

Thread closed due to inactivity, please open a new thread to address related issues.