doc/source/api.rst
raw| 1 | The :mod:`aodhclient` Python API |
| 2 | ================================ |
| 3 | |
| 4 | .. module:: aodhclient |
| 5 | :synopsis: A client for the Aodh API. |
| 6 | |
| 7 | .. currentmodule:: aodhclient |
| 8 | |
| 9 | Usage |
| 10 | ----- |
| 11 | |
| 12 | To use aodhclient in a project:: |
| 13 | |
| 14 | >>> from aodhclient.v2 import client |
| 15 | >>> aodh = client.Client(...) |
| 16 | >>> aodh.alarm.list() |
| 17 | |
| 18 | Reference |
| 19 | --------- |
| 20 | |
| 21 | For more information, see the reference: |
| 22 | |
| 23 | .. toctree:: |
| 24 | :maxdepth: 2 |
| 25 | |
| 26 | ref/v2/index |
| 27 |