Skip to content

Latest commit

 

History

History
49 lines (41 loc) · 1.44 KB

methods.md

File metadata and controls

49 lines (41 loc) · 1.44 KB

Method Documentation

The main SDK object by which all other methods are accessed is created by calling py42.sdk.from_local_account or py42.sdk.from_jwt_provider. For example:

import py42.sdk

sdk = py42.sdk.from_local_account("console.us.code42.com", "john.doe@example.com", "my_pw")
# access properties on 'sdk' to explore all the available methods
.. important::
    `py42` only supports token-based authentication.

Explore the complete public documentation for py42 below.

.. automodule:: py42.sdk
    :members:
    :show-inheritance:

.. autoclass:: py42.sdk.SDKClient
    :members:
    :show-inheritance: