KOA has released a Python API that supports queries for public and protected raw science and calibration data for all active and retired instruments at the W. M. Keck Observatory. The client, PyKOA, can be installed from the Python Package Index (PyPI) software repository. You may query KOA for public data though four hird-party VO-compliant clients: TAPlus, PyVO, IRSO Viewer and TOPCAT. The user guide at
https://koa.ipac.caltech.edu/UserGuide/PyKOA/TAPClients.html contains extensive example queries and Jupyter notebooks.