.. currentmodule:: dbl
The following section outlines the API of dblpy.
There are two main ways to query version information about the library.
.. data:: version_info A named tuple that is similar to `sys.version_info`_. Just like `sys.version_info`_ the valid values for ``releaselevel`` are 'alpha', 'beta', 'candidate' and 'final'. .. _sys.version_info: https://docs.python.org/3.5/library/sys.html#sys.version_info
.. data:: __version__ A string representation of the version. e.g. ``'0.1.0-alpha0'``.
Note
All of the following functions return their data as a JSON object (except widget generation)!
.. autoclass:: Client :members:
The following exceptions are thrown by the library.
.. autoexception:: DBLException
.. autoexception:: Unauthorized_Detected
.. autoexception:: ClientException
.. autoexception:: HTTPException :members:
.. autoexception:: Unauthorized
.. autoexception:: Forbidden
.. autoexception:: NotFound
.. autoexception:: InvalidArgument
.. autoexception:: ConnectionClosed