UNPKG

songlink-api

Version:

NodeJS client to query song.link's API

6 lines (5 loc) 421 B
import { SonglinkResponse } from './types/Response'; import { SonglinkAPIParams } from './types/APIParams'; import { SonglinkRequestParams } from './types/RequestParams'; export declare function getLinks(params: SonglinkRequestParams, apiParams?: SonglinkAPIParams): Promise<SonglinkResponse>; export declare function getClient(apiParams: SonglinkAPIParams): (params: SonglinkRequestParams) => Promise<SonglinkResponse>;