Docs incorrect or hard to follow?

Tweet me

so I can make things better! 😊

Soundcloud Wrapper

Playlists

Playlists type.

In some cases SoundClouds API will return an array of playlists e.g. Playlist[] instead of the Playlists type. Something to keep in mind as you will have to handle these data structure inconsistencies accordingly.

Example

your-api-route.ts
import { Playlists } from "soundcloud-wrapper/types"
 
const playlists: Playlists = {
  // Playlists data
}

Params

PropTypeDefault
collection
Playlist[]
-
next_href
number
-

On this page