How do I access the atomic coordinates of a material using the Python API?

Hi, I have a research problem which requires me to process the relative atomic coordinates of a material. I have a found a way to download the atomic coordinates via the web UI, by using the visualizer widget → “Export to” → JSON (picture attached below):

However, I don’t see any way to access these coordinates via the Python API. Is this possible?

Thanks!