/How-to-Use-Mindat-API

Use Cases for Open Mindat Data API

Primary LanguageJupyter NotebookApache License 2.0Apache-2.0

Mindat API examples

I'm using this repository for Jupyter notebooks or other useful code for accessing data in the Mineral data information system (Mindat)

What's here

Using_the_Mindat_API.ipynb

A python note book that walks through connecting to the API to access information about meteorite classes. Examples use the geomaterials_search with a text query parameter, the geomaterials endpoint for accessing records by ID with a specific list of fields, and using the cursor to page through large result sets. There's also information about the relation between the mindat integer ID and the new LongID strings.

Getting Started

If you do not have a Mindat API key, please refer to How to Get My Mindat API Key or Token

See also

License

All content licensed under the Apache License, Version 2.0.

Acknowledgments

  • Thanks to Jinyin Zhang for his How-to-Use-Mindat-API notebook that got me started, and to Jolyon Ralph, Ryan Hamel, Pavel Martynov, and David Von Bargen for building Mindat and its community, and for helpful discussions on the Slack channel.