spotify-now-playing
Version:
<div align="center"> <img src="https://github.com/bigarmTomi/spotify-now-playing/blob/master/docs/spotify-1.png" /> <img src="https://github.com/bigarmTomi/spotify-now-playing/blob/master/docs/spotify-2.png" /> <img src="https://github.co
13 lines (12 loc) • 401 B
TypeScript
import { SongResult } from '../utils/type';
export declare class SpotifyService {
private accessToken;
private clientId;
private clientSecret;
private refreshToken;
constructor(clientId: string, clientSecret: string, refreshToken: string);
private hasAccessToken;
private setAccessToken;
private getAccessToken;
getCurrentSong(): Promise<SongResult>;
}