projectsresource, and the corresponding contributed data through the
contributionsresource. Each project can contain many contributions for an MP material or composition. Each contribution in turn consists of three (optional) components: free-form hierarchical data, tabular data, and crystal structures. There are separate dedicated resource endpoints for
structures. Descriptions of fields available in MPContribs resources are shown below. Check out the API Docs for more details and to try out the API in the browser.
namefield will also be used in the unique URL to the landing page, i.e.
other, set it to None
dataformat is to provide numerical data as strings with units rather than naked numerical values. This will be parsed by the API to yield a value and a unit for display. This promotes the correct reporting of significant figures as well.
idattribute of a contribution is set automatically
identifierattribute is user-specified. If project level
False, duplicate identifiers will cause submission failure
datacannot contain more than 4 levels of nesting
NaNvalues converted from pandas dataframes cause submission to fail