Now that I have solved my mp-api version problem (using 0.35.1), the example on the docs.materialsproject.org “Querying Data” example works. It does also, however, return a depreciation warning the warning below and suggests that I use "MPRester.materials.summary " method be used installed of MPRestore.summary.search. When I tried the statement “dir(MPRester.summary)”, there was no such method as “search”. Where is this suggestion documented and is it actually implemented?
with MPRester(MAP_KEY) as mpr:
docs = mpr.summary.search(material_ids=["mp-149", "mp-13", "mp-22526"])
Accessing summary data through MPRester.summary is deprecated. Please use MPRester.materials.summary instead.
Retrieving SummaryDoc documents: 100%|█████████████████████████████████████████████████████████████████| 3/3 [00:00<00:00, 21326.97it/s]