lunify.js
Version:
A basic api wrapper for the spotify api covering the oauth routes.
24 lines (23 loc) • 500 B
TypeScript
export interface ApiUser {
country?: string;
display_name: string | null;
email?: string;
explicit_content?: {
filter_enabled: boolean;
filter_locked: boolean;
};
external_urls: Record<string, string>;
followers: {
href: string;
total: number;
};
href: string;
id: string;
images: ApiImage[];
product?: 'premium' | 'free' | 'open';
}
export interface ApiImage {
url: string;
height: number;
width: number;
}