Using the API to obtain the lattice parameter of entries from a query

How would I use the API to submit a query that obtains the lattice parameters of entries from said query and input them into a dataframe?

Hi @J0chin, while the API does not have the capability to filter on individual lattice parameters, what I recommend is to pull all of the structures, filter, and construct the DataFrame locally. You can pull all of the structure data with MPRester.materials.search passing fields=["structure"].

– Jason

1 Like