SoundSphere
âš The library is W.I.P. and most methods are not yet implemented
A modern SoundCloud API client for Node.js and Deno.
Features
- ✨ Typed methods (generated via quicktype)
- âš¡ Targets ES2019 (Node 12+ LTS)
API Implementation Status
- Users (
/users/{user_id}
) (allGET
methods) - Tracks (
/tracks/{track_id}
) (allGET
methods)
Examples
Node.js
import { SoundCloud } from 'soundsphere'
const sc = new SoundCloud({
id: 'CLIENT_ID',
secret: 'CLIENT_SECRET'
})
const { id } = await sc.user('uvulauvula')
const json = (await sc.tracks({ user: id }))[1]
console.log(json)
Deno
import { SoundCloud } from 'https://deno.land/x/soundsphere/src/index.ts'
const sc = new SoundCloud({
id: 'CLIENT_ID',
secret: 'CLIENT_SECRET'
})
const { id } = await sc.user('uvulauvula')
const json = (await sc.tracks({ user: id }))[1]
console.log(json)