Getting details regarding a user¶
It is possible to get details regarding a user through their profile, by:
Initalizing a client with user credentials, see Initializing the client for more information;
Getting the user details using
UserProfiles.get()
.
For example:
from __future__ import annotations
import asyncio
from planetcasio.client import Client
async def main() -> None:
async with Client() as client:
profile = await client.user_profiles.get("cakeisalie5")
print(profile)
asyncio.run(main())