Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find how to retrieve the list of all users. #67

Open
tvataire opened this issue Mar 17, 2023 · 0 comments
Open

Can't find how to retrieve the list of all users. #67

tvataire opened this issue Mar 17, 2023 · 0 comments

Comments

@tvataire
Copy link

Is your feature request related to a problem? Please describe.
The get_users() method only returns the 50 first users.

Describe the solution you'd like
The get_users() method should accept an offset parameter to retrieve next users after the first 50 users has been retrieved.

Additional context
Attached test.py script compare rocketchat_API and rocket-python behavior.
test.py.gz

Here is the script output :

~$ ./test.py 
== rocketchat_API ==
50 users
61 users
== rocket-python ==
50 users
100 users
150 users
200 users
250 users
300 users
350 users
400 users
...                 <- never ends because offset is ignored
@tvataire tvataire changed the title Can't find how to retrieve list of all users. Can't find how to retrieve the list of all users. Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant