api
api copied to clipboard
New API client for the Materials Project
Maybe worth mentioning in the `v0.24.0` release or updating `mpr.summary.available_fields` (which still shows `nsites`, no reference to `num_sites`), since `nsites` produces an unexpected keyword error. Came across the error after...
In no specific order: - [x] Merge resters into a single class - [x] ⭐️ Add `task_id` (List of `task_id`) to the search end point, to allow returning of fields...
Logic to return data for equivalent miller indices should be absorbed into the API and moved out of `MPRester`.
Would be nice if there was some sort of maggma `store` interface to the API that would locally cache documents so that people could use our data in their own...
- [x] Phonon band structure objects - [x] Phonon density of states objects - [x] Phonon band structure images - [x] Phonon density of states images - [ ] Phonon...
Entries API
- [x] API to retrieve `ComputedEntry` - [x] API to retrieve `ComputedStructureEntry` for materials - [ ] Cohesive energies (needs build step?) This is for the thermo and Pourbaix apps.
Sample document: ``` { "material_id" : "mp-91", "sigma" : NumberInt(3), "type" : "tilt", "rotation_axis" : [ NumberInt(1), NumberInt(1), NumberInt(0) ], "gb_plane" : [ NumberInt(1), NumberInt(-1), NumberInt(-2) ], "rotation_angle" : 109.47122063449069,...