public albums()

in src/endpoints/ArtistsEndpoints.ts [27:43]


    public albums(
        id: string,
        includeGroups?: string,
        market?: Market,
        limit?: MaxInt<50>,
        offset?: number
    ) {
        const params = this.paramsFor({
            include_groups: includeGroups,
            market,
            limit,
            offset,
        });
        return this.getRequest<Page<SimplifiedAlbum>>(
            `artists/${id}/albums${params}`
        );
    }