code: def spkobj(spk, outCell=None):
      
      spk = stypes.stringToCharP(spk)
      if not outCell:
          outCell = stypes.SPICEINT_CELL(1000)
      assert isinstance(outCell, stypes.SpiceCell)
      assert outCell.dtype == 2
      libspice.spkobj_c(spk, ctypes.byref(outCell))
      return outCell
docs: Find the set of ID codes of all objects in a specified SPK file.
  
      http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/spkobj_c.html
  
      :param spk: Name of SPK file.
      :type spk: str
      :param outCell: Optional Spice Int Cell.
      :type outCell: spiceypy.utils.support_types.SpiceCell