connector-spotify
Installation
SKILL.md
Spotify with spotify-client
Motoko bindings for the
Spotify Web API,
generated from Spotify's official OpenAPI spec: 15 API modules, 270
operations. The package is built in icp-cli mode (mo:ic/Types for the
management-canister interface), so it pulls ic as a dependency and pins
PocketIC in [toolchain].
Backend
Reading catalog data and driving the player. The token always comes from the caller — the canister never holds a Spotify client secret:
import { getTrack } "mo:spotify-client/Apis/TracksApi";
import { getInformationAboutTheUsersCurrentPlayback; skipUsersPlaybackToNextTrack } "mo:spotify-client/Apis/PlayerApi";
import { type Config; defaultConfig } "mo:spotify-client/Config";