Docs incorrect or hard to follow?

Tweet me

so I can make things better! 😊

Soundcloud Wrapper

Tracks

Tracks type.

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

Example

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

Params

PropTypeDefault
collection
Track[]
-
next_href
number
-

On this page