'NoneType' object is not callable error when i run test_material = mpr.get_data("mp-149")

from pymatgen.ext.matproj import MPRester

mpr = MPRester(“API_KEY”)
test_material = mpr.get_data(“mp-149”) # Silicon
print(“Test material data:”, test_material)

this code gives the "‘NoneType’ object is not callable error "

Hi @medackan: please treat your API key like a password and do not share it in a public forum. There’s no get_data function in the new Materials Project API, you can find a guide to using the new API here