Expand description
cnctd-service-spotify: Spotify API integration for cnctd.world
Provides read-only access to Spotify listening data (top artists, top tracks, saved albums, recently played, search, artist albums). Designed as a built-in tool service following the SSH service pattern.
The service takes an access token per-call — token management (OAuth flow, refresh, storage) is handled by the cnctd.world server, not this library.
Re-exports§
pub use client::SpotifyClient;pub use error::SpotifyError;pub use tools::SpotifyService;pub use tools::ToolDefinition;pub use tools::get_tool_definitions;pub use tools::GetTopArtistsArgs;pub use tools::GetTopTracksArgs;pub use tools::GetSavedAlbumsArgs;pub use tools::GetRecentlyPlayedArgs;pub use tools::SearchArgs;pub use tools::GetArtistAlbumsArgs;pub use tools::ArtistResult;pub use tools::TrackResult;pub use tools::AlbumResult;pub use tools::SavedAlbumResult;pub use tools::RecentlyPlayedResult;pub use tools::SearchResult;