How to download many CIF together?

Hello:

I plan to download the CIF from MP, and I can do that if I just wanted a material.But I would like many various crystal structure.
Now I have the materials IDs in MP, So how can I batch download the CIFs.

Thanks very much.

Xue Jia
2020-05-12

Hi @hitxuer

The best way to download a lot of structures is to get the pymatgen structures using our API and our MPRester client and then save those to whichever format you want.

OK, I will try it.
Thank you