osu-api-v2-js
    Preparing search index...

    Interface User

    A normal, basic user, but last_visit is a string when not null!

    interface User {
        avatar_url: string;
        country_code: string;
        default_group: string;
        id: number;
        is_active: boolean;
        is_bot: boolean;
        is_deleted: boolean;
        is_online: boolean;
        is_supporter: boolean;
        last_visit: null | string;
        pm_friends_only: boolean;
        profile_colour: null | string;
        username: string;
    }

    Hierarchy

    • Omit<User, "last_visit">
      • User
    Index

    Properties

    avatar_url: string
    country_code: string
    default_group: string
    id: number
    is_active: boolean
    is_bot: boolean
    is_deleted: boolean
    is_online: boolean
    is_supporter: boolean
    last_visit: null | string

    When not null, it looks like "2025-03-16T14:28:23+00:00" so just run new Date() with that

    pm_friends_only: boolean
    profile_colour: null | string
    username: string