Skip to content

Commit 54b156b

Browse files
author
sambyers
committed
added bind methods section to quickstart
1 parent b9ac306 commit 54b156b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/user/quickstart.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,20 @@ contain all of the returned objects.
468468
>>> rooms_list = list(rooms_iterable)
469469
470470
471+
472+
Extending the API with bound methods
473+
------------------------------------
474+
475+
Extending the API is simple by binding your own methods to the top level API. By binding a method to
476+
the WebexTeamsAPI, you can extend functionality and leverage all of the objects and quality of life
477+
features.
478+
479+
.. code-block:: python
480+
>>> new_function():
481+
... pass
482+
>>> WebexTeamsAPI().new_function = new_function
483+
>>> output = WebexTeamsAPI.new_function(params)
484+
471485
*Copyright (c) 2016-2019 Cisco and/or its affiliates.*
472486

473487

0 commit comments

Comments
 (0)