| 1 |
=================== |
| 2 |
Welcome to RachioPy |
| 3 |
=================== |
| 4 |
|
| 5 |
This python package provides a interface to the Rachio public API. |
| 6 |
|
| 7 |
Library Installation |
| 8 |
==================== |
| 9 |
|
| 10 |
.. code-block:: bash |
| 11 |
|
| 12 |
$ pip install rachiopy |
| 13 |
|
| 14 |
Getting Started |
| 15 |
=============== |
| 16 |
|
| 17 |
.. code-block:: python |
| 18 |
|
| 19 |
from rachiopy import Rachio |
| 20 |
|
| 21 |
r = Rachio("8e600a4c-0027-4a9a-9bda-dc8d5c90350d") |
| 22 |
resp, content = r.person.info() |
| 23 |
|
| 24 |
print (resp["status"]) |
| 25 |
print (content["id"]) |
| 26 |
|
| 27 |
This prints: |
| 28 |
|
| 29 |
.. code-block:: text |
| 30 |
|
| 31 |
200 |
| 32 |
ccd8bb4d-d7ef-407c-b029-1c578c7a98d8 |
| 33 |
|
| 34 |
|
| 35 |
Source code |
| 36 |
=========== |
| 37 |
|
| 38 |
The project is hosted on GitHub |
| 39 |
|
| 40 |
Please feel free to file an issue on the bug tracker if you have found a bug |
| 41 |
or have some suggestion in order to improve the library. |
| 42 |
|
| 43 |
Dependencies |
| 44 |
============ |
| 45 |
|
| 46 |
- Python 3.6+ |
| 47 |
- requests |
| 48 |
|
| 49 |
Authors and License |
| 50 |
=================== |
| 51 |
|
| 52 |
The rachiopy package is written mostly by Robbert Verbruggen. |
| 53 |
|
| 54 |
It's MIT licensed and freely available. |
| 55 |
|
| 56 |
Feel free to improve this package and send a pull request to GitHub. |
| 57 |
|
| 58 |
Table Of Contents |
| 59 |
================= |
| 60 |
|
| 61 |
.. toctree:: |
| 62 |
:maxdepth: 2 |
| 63 |
|
| 64 |
person |
| 65 |
device |
| 66 |
zone |
| 67 |
schedulerule |
| 68 |
flexschedulerule |
| 69 |
notification |
| 70 |
rachioobject |
| 71 |
|
| 72 |
Indices and tables |
| 73 |
================== |
| 74 |
|
| 75 |
* :ref:`genindex` |
| 76 |
* :ref:`modindex` |
| 77 |
* :ref:`search` |