API Reference
====================

As highlighted in the :ref:`installation`, the SunPeek software consists of multiple parts:

* The **Web UI** is the graphical user interface, allowing user to interact with SunPeek in the browser. It is based on JavaScript.
* The **Python API** (restful python API) allows the WebUI or other software to communicate with the database and carry out the algorithms in the Python code.
* The **Python Library** contains all methods and code to carry out the Power Check and other algorithms.


Individual API References
--------------------------

.. toctree::
    :maxdepth: 1

    python_code_api.rst
    python_web_api.rst