Skip to content

Commit

Permalink
Updated code for better documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaun Tarves committed Apr 30, 2021
1 parent 8912f9d commit 74b80e3
Show file tree
Hide file tree
Showing 50 changed files with 6,514 additions and 2,806 deletions.
27 changes: 14 additions & 13 deletions docs-src/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
:hidden:

self
wyze_sdk.api.devices
wyze_sdk.models.devices
wyze_sdk.models.events
wyze_sdk.api
wyze_sdk.models
wyze_sdk.errors
wyze_sdk.signature
wyze_sdk.logging

==============================================
Wyze SDK
==============================================
Getting Started with Wyze SDK
*****************************

A modern Python client for controlling Wyze devices.

Expand Down Expand Up @@ -50,7 +50,7 @@ Whether you're building a custom app, or integrating into a third-party service
**As this repository is entirely reverse-engineered, it may break at any time. If it does, I will fix it to the best of my ability.**

Installation
************
============

This package supports Python 3.8 and higher. I recommend using `PyPI <https://pypi.python.org/pypi>`_ to install Wyze SDK

Expand Down Expand Up @@ -88,17 +88,18 @@ You can run the code this way.
python test.py
Getting Help
************
============

If you get stuck, I'm here to help. The following are the best ways to get assistance working through your issue:

- `GitHub Issue Tracker <https://github.com/shauntarves/wyze-sdk/issues>`_ for questions, feature requests, bug reports and general discussion related to this package.

.. include:: metadata.rst

Indices and tables
==================
.. only:: html

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
Indices and Tables
------------------

* :ref:`genindex`
* :ref:`search`
2 changes: 1 addition & 1 deletion docs-src/metadata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
.. |github_username| replace:: shauntarves

.. _Issue Tracker: http://github.com/shauntarves/wyze-sdk/issues
.. _pull request: http://github.com/shauntarves/wyze-sdk/pulls
.. _Pull Requests: http://github.com/shauntarves/wyze-sdk/pulls
.. _License: https://github.com/shauntarves/wyze-sdk/blob/main/LICENSE
7 changes: 0 additions & 7 deletions docs-src/modules.rst

This file was deleted.

78 changes: 0 additions & 78 deletions docs-src/wyze_sdk.api.devices.rst

This file was deleted.

86 changes: 65 additions & 21 deletions docs-src/wyze_sdk.api.rst
Original file line number Diff line number Diff line change
@@ -1,45 +1,89 @@
wyze\_sdk.api package
=====================
Web Client
**********

Subpackages
-----------
.. autoclass:: wyze_sdk.api.Client
:members:
:undoc-members:

.. toctree::
:maxdepth: 4
Bulbs
=====
.. autoclass:: wyze_sdk.api.devices.bulbs.BulbsClient
:members:
:undoc-members:
:inherited-members:
:show-inheritance:

wyze_sdk.api.devices
Cameras
=======
.. autoclass:: wyze_sdk.api.devices.cameras.CamerasClient
:members:
:undoc-members:
:inherited-members:
:show-inheritance:

Submodules
----------
Locks
=====
.. autoclass:: wyze_sdk.api.devices.locks.LocksClient
:members:
:undoc-members:
:inherited-members:
:show-inheritance:

wyze\_sdk.api.base module
-------------------------
Plugs
=====
.. autoclass:: wyze_sdk.api.devices.plugs.PlugsClient
:members:
:undoc-members:
:inherited-members:
:show-inheritance:

.. automodule:: wyze_sdk.api.base
Scales
======
.. autoclass:: wyze_sdk.api.devices.scales.ScalesClient
:members:
:undoc-members:
:inherited-members:
:show-inheritance:

wyze\_sdk.api.client module
---------------------------
Sensors
=======

.. automodule:: wyze_sdk.api.client
Contact Sensors
---------------
.. autoclass:: wyze_sdk.api.devices.sensors.ContactSensorsClient
:members:
:undoc-members:
:inherited-members:
:show-inheritance:

wyze\_sdk.api.events module
---------------------------
Entry Sensors
-------------
.. autoclass:: wyze_sdk.api.devices.sensors.MotionSensorsClient
:members:
:undoc-members:
:inherited-members:
:show-inheritance:

.. automodule:: wyze_sdk.api.events
Thermostats
===========
.. autoclass:: wyze_sdk.api.devices.thermostats.ThermostatsClient
:members:
:undoc-members:
:inherited-members:
:show-inheritance:

Module contents
---------------
Vacuums
=======
.. autoclass:: wyze_sdk.api.devices.vacuums.VacuumsClient
:members:
:undoc-members:
:inherited-members:
:show-inheritance:

.. automodule:: wyze_sdk.api
Events
======
.. autoclass:: wyze_sdk.api.events.EventsClient
:members:
:undoc-members:
:inherited-members:
:show-inheritance:
8 changes: 4 additions & 4 deletions docs-src/wyze_sdk.errors.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
wyze\_sdk.errors package
========================
Errors
******

Module contents
---------------
wyze\_sdk.errors
----------------

.. automodule:: wyze_sdk.errors
:members:
Expand Down
5 changes: 5 additions & 0 deletions docs-src/wyze_sdk.logging.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Logging
*******

.. automodule:: wyze_sdk
:members:
93 changes: 0 additions & 93 deletions docs-src/wyze_sdk.models.devices.rst

This file was deleted.

10 changes: 0 additions & 10 deletions docs-src/wyze_sdk.models.events.rst

This file was deleted.

Loading

0 comments on commit 74b80e3

Please sign in to comment.