materials_commons.api
2.0
  • Overview
  • Installation
  • User Manual
    • Initializing the API
    • Projects
    • Experiments
    • File Upload and Download
    • Datasets
    • Search
    • Server
  • ``materials_commons.api`` Reference
  • Getting help
  • License
materials_commons.api
  • »
  • User Manual »
  • Search
  • View page source

Search

The Materials Commons API exposes a simple search API for searching published datasets and public communities. It will find matching datasets and communities, searching in their description, name and author fields.

# Find published communities and datasets that contain the keyword magnesium
matching = c.search_published_data("magnesium")

The returned matches are of type mcapi.Searchable.

Previous Next

© Copyright 2021, PRISMS Center.

Built with Sphinx using a theme provided by Read the Docs.