Hi everybody. I want to download some data about batteries from the materials project, but there is no battery section in the endpoint section, but there is a battery Explorer section on the site, and I am confused. Especially since I am a beginner and now, I don’t know how to download data of batteries with specific filters at once?
Hi @Sara_Alizadeh,
You can use the /materials/insertion_electrodes/
endpoint to get the data shown in the battery explorer:
electrode_docs = mpr.materials.insertion_electrodes.search()
Here’s the full list of api endpoints for your reference: Materials Project API
If you open the insertion electrodes section you can see the various fields you can filter by
Hi @Sara_Alizadeh, in addition to the feedback from @tsmathis, I’d recommend checking out the documentation for the mp-api client, too: Welcome to the mp-api code documentation! — mp-api 2022 documentation
I appreciate the explanation
thanks for pointing that out. I’ll try to check it