Skip to main content

Resolve

Methods

resolve

resolve<T>(requestParameters): Promise<T>

Resolves a provided Audius app URL to the API resource it represents

Example:


const track = await audiusSdk.resolve<Track>({
url: "https://audius.co/camouflybeats/hypermantra-86216",
});

Type parameters

NameType
Textends Track | Playlist | User

Parameters

NameType
requestParametersResolveRequest

Returns

Promise<T>