soundcloud.ts
Version:
Soundcloud API v2 wrapper with typings.
14 lines (13 loc) • 418 B
TypeScript
import { API } from "../API";
export declare class Resolve {
private readonly api;
constructor(api: API);
/**
* Gets the ID from the html source.
*/
getAlt: (resolvable: string | number) => Promise<string | number>;
/**
* Gets the ID of a user/playlist/track from the Soundcloud URL using the v2 API.
*/
get: (resolvable: string | number, full?: boolean) => Promise<any>;
}