I am trying to access structural and property data from the nanoporous materials database using the API. For example, consider the zeolite with materials ID NMGC-239531. When I try to get data (or structure) I receive the following error:
>>> mg.get_structure_by_material_id('NMGC-239531') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/dist-packages/pymatgen/matproj/rest.py", line 381, in get_structure_by_material_id return data[prop] IndexError: list index out of range
Other similar queries seem to imply that these materials are not in the database. Is this correct, or am I simply using the wrong key? Is there any way that I can obtain the data (and especially structures) in an automated way?