Skip to content

Users

Get user info

get_user_info

Returns the name of the user and his ID (the one you can see in your profile). The username you have to provide is a unique identifier ending by @auth.local. This is neither the email address of the user nor its name.

base.get_user_info(username)

Output Dict containing id_in_org and name keys

Example

from seatable_api import Base, context

base = Base(context.api_token, context.server_url)
base.auth()
user_info = base.get_user_info("aea9e807bcfd4f3481d60294df74f6ee@auth.local")
print(user_info)