How can i retrieve band gap of a specific structure(eg: cubic perovskite) of a material. Which api can be used. I tried to pass crystal_structure as attribute using MPRester package. But not sure which API to use. Is there any documentation to find these?
I found materials API which has couple of endpoints which is expecting task_id.
I appreciate your support!

