def get_user(self, username, *, mode=OsuMode.osu, event_days=31):
        """Get a user profile.

        Parameters
        ----------
        username : str or int
            A `str` representing the user's username, or an `int` representing the user's id.
        mode : :class:`osuapi.enums.OsuMode`
            The osu! game mode for which to look up. Defaults to osu!standard.
        event_days : int
            The number of days in the past to look for events. Defaults to 31 (the maximum).
        """
        return self._make_req(endpoints.USER, dict(
            k=self.key,
            u=username,
            type=_username_type(username),
            m=mode.value,
            event_days=event_days
            ), JsonList(User))
Get a user profile.

        Parameters
        ----------
        username : str or int
            A `str` representing the user's username, or an `int` representing the user's id.
        mode : :class:`osuapi.enums.OsuMode`
            The osu! game mode for which to look up. Defaults to osu!standard.
        event_days : int
            The number of days in the past to look for events. Defaults to 31 (the maximum).