mayank
12 years agoAce
how many users joined the community based on date ranges.
through lithium api i just want to knw general information like how many ysers joined community on the basis of : date range what is a primary email suffix and want to display it outside ...
- 11 years ago
Hey mayank,
You can use the users/registered api to get the users who registered during a certain time period. Here is the documentation around the call: Users Registered Call. You can also do a count call to get the count using /users/registered/count. However, these calls cannot currently be filtered by e-mail suffix.
You can do the filtering manually by first getting the list of users, then iterating over them yourself and counting the ones with the suffix you want. This will probably be an expensive operation, but I'm guessing you don't need to update the data often, so you can probably just have something that runs once a day or so to do this and stores the data.
Hope this helps,
Yuri