Skip to content

Latest commit

 

History

History
90 lines (58 loc) · 2.65 KB

File metadata and controls

90 lines (58 loc) · 2.65 KB

User methods


fetch_user

async def fetch_user(username: str) -> Union[PublicUser, None]:

Description:
fetches information about user by username.

Params:

  • username: str - username of the user you are trying to fetch information about.

Returns PublicUser or None


fetch_user_voices

async def fetch_user_voices(username: str) -> List[Voice]

Description:
fetches information about user's voices.

Params:

  • username: str - username of the user whose voices you are trying to fetch.

Returns List[Voice]


follow_user

async def follow_user(username: str) -> bool:

Description:
follows you to the user.

Params:

  • username: str - username of the user you are trying to follow.

Returns bool


unfollow_user

async def unfollow_user(username: str) -> bool:

Description:
unfollows you from the user.

Params:

  • username: str - username of the user you are trying to unfollow from.

Returns bool


📖: