docs: def get_structure_by_id(self, cod_id, **kwargs):
          """
          Queries the COD for a structure by id.
  
          Args:
              cod_id (int): COD id.
              kwargs: All kwargs supported by
                  :func:`pymatgen.core.structure.Structure.from_str`.
  
          Returns:
              A Structure.
          """
          r = requests.get("http://www.crystallography.net/cod/%s.cif" % cod_id)
          return Structure.from_str(r.text, fmt="cif", **kwargs)