Ex.Pnut v0.1.0 ExPnut.User.Lookup View Source
Lookup one or multiple users.
Endpoints:
- Get a user
- Get multiple users
- Get app user IDs
- Get app user tokens
Link to this section Summary
Functions
Retrieve a list of all user token objects that authorize the requesting app. Not currently paginated.
Retrieve a list of all user IDs that authorize the requesting app. It is not paginated.
Retrieve a user object.
Retrieve a list of specified user objects. Only retrieves the first 200 found.
Link to this section Functions
Link to this function
get_my_tokens(client, user_params \\ %UserParams{}) View Source
Retrieve a list of all user token objects that authorize the requesting app. Not currently paginated.
Requires an app token.
Link to this function
get_my_users(client, user_params \\ %UserParams{}) View Source
Retrieve a list of all user IDs that authorize the requesting app. It is not paginated.
Requires an app token.
Link to this function
get_user(client, user_id, user_params \\ %UserParams{}) View Source
Retrieve a user object.
Parameters
- user_id: User ID or username with "@" symbol of the user to retrieve.
Link to this function
get_users(client, user_ids, user_params \\ %UserParams{}) View Source
Retrieve a list of specified user objects. Only retrieves the first 200 found.
Parameters
- user_ids: List of user IDs. IDs are required; no other identifiers are allowed.