mirror of
https://github.com/remnawave/python-sdk.git
synced 2026-05-13 12:16:42 +00:00
commit
630a6965b4
1 changed files with 2 additions and 2 deletions
|
|
@ -105,7 +105,7 @@ async def main():
|
|||
remnawave = RemnawaveSDK(base_url=base_url, token=token)
|
||||
|
||||
# Fetch all users
|
||||
response: UsersResponseDto = await remnawave.users.get_all_users_v2()
|
||||
response: UsersResponseDto = await remnawave.users.get_all_users()
|
||||
total_users: int = response.total
|
||||
users: list[UserResponseDto] = response.users
|
||||
print("Total users: ", total_users)
|
||||
|
|
@ -123,4 +123,4 @@ This SDK was originally developed by [@kesevone](https://github.com/kesevone) fo
|
|||
|
||||
Previously maintained by [@sm1ky](https://github.com/sm1ky) at [`sm1ky/remnawave-api`](https://github.com/sm1ky/remnawave-api).
|
||||
|
||||
Now officially maintained by the Remnawave Community at [`remnawave/python-sdk`](https://github.com/remnawave/python-sdk).
|
||||
Now officially maintained by the Remnawave Community at [`remnawave/python-sdk`](https://github.com/remnawave/python-sdk).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue