OtherUserResource
API Access class for other users, that are not the currently active user.
Source code in src/specklepy/api/resources/current/other_user_resource.py
get
get(id: str) -> Optional[LimitedUser]
Gets the profile of another user.
Returns:
| Type | Description |
|---|---|
Optional[LimitedUser]
|
LimitedUser -- the retrieved profile of another user |
Source code in src/specklepy/api/resources/current/other_user_resource.py
user_search
user_search(
query: str,
*,
limit: int = 25,
cursor: Optional[str] = None,
archived: bool = False,
emailOnly: bool = False,
) -> UserSearchResultCollection
Searches for a user on the server, by name or email. The search query must be at least 3 characters long
Returns: ResourceCollection[LimitedUser] -- User objects that match the search query