Skip to content

Latest commit

 

History

History
executable file
·
78 lines (47 loc) · 1.85 KB

README.md

File metadata and controls

executable file
·
78 lines (47 loc) · 1.85 KB

user

Overview

User

Available Operations

  • login - Login user
  • me - Show current user

login

Login user

Example Usage

import sdk
from sdk.models import operations

s = sdk.SDK(
    security=shared.Security(
        bearer_auth="",
    ),
)

req = operations.LoginApplicationJSON(
    email='Kenny50@yahoo.com',
    password='rem',
)

res = s.user.login(req)

if res.body is not None:
    # handle response

Parameters

Parameter Type Required Description
request operations.LoginApplicationJSON ✔️ The request object to use for the request.

Response

operations.LoginResponse

me

Show current user

Example Usage

import sdk


s = sdk.SDK(
    security=shared.Security(
        bearer_auth="",
    ),
)


res = s.user.me()

if res.body is not None:
    # handle response

Response

operations.MeResponse