nuxtify-api
Version:
Lightweight music API for client without third-party libraries.
14 lines (13 loc) • 381 B
TypeScript
import { Base } from '../base';
type SearchType = {
q: string;
type: 'song' | 'playlist' | 'artist' | 'video';
page?: number;
};
export declare class Search extends Base {
getResult(q: string): Promise<any>;
getResultByType(params: SearchType): Promise<any>;
getRecommendKeyword(): Promise<any>;
getSuggestion(query: string): Promise<any>;
}
export {};