Something went wrong. Try again.
Exploring last.fm scrobbles
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194export interface LastfmImage { '#text': string; size: string;}
export interface LastfmTag { name: string; url: string; count?: string | number;}
export interface LastfmWiki { published: string; summary: string; content: string;}
export interface LastfmStreamable { '#text': string; fulltrack: string;}
export interface ArtistRef { name?: string; '#text'?: string; mbid: string; url: string; image: LastfmImage[];}
export interface Artist extends ArtistRef { streamable: string; ontour: string; stats: { listeners: string; playcount: string; }; similar: { artist: ArtistRef[]; }; tags: { tag: LastfmTag[]; }; bio: LastfmWiki & { links: { link: Array<{ '#text': string; rel: string; href: string }>; }; };}
export interface AlbumRef { artist: string; title: string; '#text'?: string; mbid: string; url: string; image: LastfmImage[]; '@attr'?: { position: string; };}
export interface Track { name: string; mbid?: string; url?: string; duration?: string; listeners?: string; playcount?: string; loved?: string; streamable?: LastfmStreamable | string; artist: ArtistRef | string; album?: AlbumRef; toptags?: { tag: LastfmTag[]; }; wiki?: LastfmWiki; image?: LastfmImage[]; date?: { uts: string; '#text': string; }; '@attr'?: { rank?: string; nowplaying?: string; };}
export interface PagedAttr { page: string; perPage: string; totalPages: string; total: string; user?: string;}
export interface ArtistInfoResponse { artist: Artist;}
export interface ArtistTopTracksResponse { toptracks: { track: Track[]; '@attr': PagedAttr; };}
export interface ArtistTopAlbumsResponse { topalbums: { album: AlbumRef[]; '@attr': PagedAttr; };}
export interface ArtistSimilarResponse { similarartists: { artist: ArtistRef[]; '@attr': PagedAttr; };}
export interface TrackInfoResponse { track: Track;}
export interface RecentTracksResponse { recenttracks: { track: Track[]; '@attr': PagedAttr; };}
export interface UserTopArtistsResponse { topartists: { artist: Array<ArtistRef & { playcount: string }>; '@attr': PagedAttr; };}
export interface UserTopTracksResponse { toptracks: { track: Track[]; '@attr': PagedAttr; };}
export interface ChartTopTracksResponse { tracks: { track: Track[]; '@attr': PagedAttr; };}
export interface ArtistSearchResult extends ArtistRef { listeners?: string;}
export interface ArtistSearchResponse { results: { 'opensearch:totalResults': string; artistmatches: { artist: ArtistSearchResult[]; }; };}
export interface TrackSearchResponse { results: { 'opensearch:totalResults': string; trackmatches: { track: Track[]; }; };}
export interface ScrobbleRecord { uts: number; track: string; artist: string; album: string; trackMbid?: string; artistMbid?: string; albumMbid?: string; loved: boolean; imageUrl?: string;}
export interface ScrobbleSnapshot { user: string; exportedAt: string; count: number; scrobbles: ScrobbleRecord[];}