Getting Battery Dataset

I have been trying to get the battery data using the new API but I am failing anyone to assist with such???

You can use the new MPRester:

from mp_api import MPRester

with MPRester("your_api_key") as mpr:
    docs = mpr.insertion_electrodes.search()

See api/electrodes.py at ef951a2686003283628a03db93b508045578ebcc · materialsproject/api · GitHub for a list of what you can search on.

– Jason