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

Feature: introduce un.Users.Statistics method as well #13

Open
hbagdi opened this issue May 24, 2017 · 0 comments
Open

Feature: introduce un.Users.Statistics method as well #13

hbagdi opened this issue May 24, 2017 · 0 comments

Comments

@hbagdi
Copy link
Owner

hbagdi commented May 24, 2017

This is related to #9
There will two ways of doing the same thing.
Once via as a method on user struct and another directly on the UserService via a username.

Both will need a new opt struct to specify resolution and quantity.

Parameters
param Description
username The user’s username. Required.
resolution The frequency of the stats. (Optional; default: “days”)
quantity The amount of for each stat. (Optional; default: 30)

Currently, the only resolution param supported is “days”. The quantity param can be any number between 1 and 30.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant