Creating dataset from pymatgen

Hi,
I’m new to Materials Project. I’ve a question.

How to create dataset of all semiconductors available in pymatgen for their properties including bandgap etc?

Thanks

Our documentation and examples for using the MP API should be a good starting point for that: https://docs.materialsproject.org/downloading-data/using-the-api