api icon indicating copy to clipboard operation
api copied to clipboard

New API client for the Materials Project

Results 103 api issues
Sort by recently updated
recently updated
newest added

### Code snippet ```python ``` ### What happened? ``` from mp_api.client.mprester import MPRester mpr = MPRester('') all_docs = mpr.materials.summary.search() ``` The code above can not work for mp_api-0.45.8. I tried...

bug

### Code snippet ```python from mp_api.client import MPRester all_element_lists = [['C', 'O', 'Yb']] all_docs = [] with MPRester() as mpr: for elements in all_element_lists: print(elements) entries = mpr.get_entries_in_chemsys(elements) mpids_raw =...

bug

### Code snippet ```python ``` ### What happened? Calling `mpr.materials.elasticity.search()` returns a list of documents where each entry has a `structure` component, while `mpr.materials.piezoelectric.search()` does not. The rest of the...

bug