UNPKG

@musicorum/lastfm

Version:

Fully typed [Last.fm](https://last.fm) api client library written and made for Typescript!

9 lines (8 loc) 348 B
import type { LastClient } from '../LastClient'; import type { GetFormattedResponse, LastfmResponses } from '../types/responses'; export declare class Auth { private client; constructor(client: LastClient); getToken(): Promise<string>; getSession(token: string): Promise<GetFormattedResponse<LastfmResponses['auth.getSession']>>; }