Skip to content

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

@hbagdi

Description

@hbagdi

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions