-
-
Notifications
You must be signed in to change notification settings - Fork 138
Endpoint for getting activity from metricity #783
Copy link
Copy link
Closed
Labels
area: APIRelated to or causes API changesRelated to or causes API changeslanguage: pythonInvolves Python codeInvolves Python codepriority: 2 - normalNormal PriorityNormal Prioritytype: featureNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
area: APIRelated to or causes API changesRelated to or causes API changeslanguage: pythonInvolves Python codeInvolves Python codepriority: 2 - normalNormal PriorityNormal Prioritytype: featureNew feature or requestNew feature or request
Type
Fields
Give feedbackNo fields configured for issues without a type.
This issue is required for python-discord/bot#2302
The endpoint should take a list of user IDs and a number of days (or just a timestamp?), and return the number of messages sent by each user from now up to the date/interval provided. This data is available through metricity.
The reason I suggest an endpoint taking multiple user IDs at once is that I assume it would be more efficient as a single query, as we may want to use this endpoint on all nominated users at once (e.g. to check for users in the talent pool that haven't been active for a long time so can be removed).