What query can i used to get the spacegroup using mpr

what query can i use to get the spacegroup using mpr
with MPRester(mp_api_key) as mpr:
structure = mpr.get_structure_by_material_id(material_id)