API Reference
Functions
Audio
getGenreAudio

getGenreAudio(genreId: String, assetConfig: AssetConfig)

This function return an object of Assets type, where assets are array of audio files of a particular genre.

Returns:

interface Assets {
  assets: Array<Asset>;
  totalCount: number;
  endCursor: number;
  hasNextPage: boolean;
}
interface AssetConfig {
  limit?: number;
  offset?: number;
  mediaType?: string;
}