File: api.rst

package info (click to toggle)
python-aodhclient 3.9.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 596 kB
  • sloc: python: 2,812; sh: 34; makefile: 24
file content (27 lines) | stat: -rw-r--r-- 422 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
The :mod:`aodhclient` Python API
================================

.. module:: aodhclient
   :synopsis: A client for the Aodh API.

.. currentmodule:: aodhclient

Usage
-----

To use aodhclient in a project::

    >>> from aodhclient.v2 import client
    >>> aodh = client.Client(...)
    >>> aodh.alarm.list()

Reference
---------

For more information, see the reference:

.. toctree::
   :maxdepth: 2

   ref/v2/index