<type>documentation</type>
<domain>scripting</domain>
<id>api-reference</id>
<title>API Reference</title>
<product>per+</product>

This chapter documents the scripting API available in ``src/wingapi.py`` inside the
``Install Directory`` listed in Wing's `About box <script:about-application>`__.
To use the API, add ``import wingapi`` to the top of your script.

.. note::

  This documentation is also available interactively in the ``Source Assistant``
  if a project is set up as described as described in *Auto-Completion and
  Integrated Documentation* in the `Scripting Example Tutorial <ref:scripting/example>`__.

See also the examples ``scripts`` directory in the ``Install Directory``.
