Skip to content

Spotify 节点#

¥Spotify node

使用 Spotify 节点自动化 Spotify 中的工作,并将 Spotify 与其他应用集成。n8n 内置支持多种 Spotify 功能,包括获取专辑和艺术家信息。

¥Use the Spotify node to automate work in Spotify, and integrate Spotify with other applications. n8n has built-in support for a wide range of Spotify features, including getting album and artist information.

本页列出了 Spotify 节点支持的操作列表以及更多资源的链接。

¥On this page, you'll find a list of operations the Spotify node supports and links to more resources.

Credentials

请参阅 Spotify 凭据 以了解有关设置身份验证的指导。

¥Refer to Spotify credentials for guidance on setting up authentication.

操作#

¥Operations

  • 相册

¥Album

  • 通过 URI 或 ID 获取专辑。

    ¥Get an album by URI or ID.

  • 获取新专辑发行列表。

    ¥Get a list of new album releases.

  • 通过 URI 或 ID 获取专辑曲目。

    ¥Get an album's tracks by URI or ID.

  • 按关键词搜索专辑

    ¥Search albums by keyword.

  • 艺术家

¥Artist

  • 通过 URI 或 ID 获取艺术家。

    ¥Get an artist by URI or ID.

  • 通过 URI 或 ID 获取艺术家的专辑。

    ¥Get an artist's albums by URI or ID.

  • 通过 URI 或 ID 获取艺术家的相关艺术家。

    ¥Get an artist's related artists by URI or ID.

  • 通过 URI 或 ID 获取艺术家的热门曲目。

    ¥Get an artist's top tracks by URI or ID.

  • 按关键词搜索艺术家。

    ¥Search artists by keyword.

¥Library

  • 获取用户喜欢的曲目。

    ¥Get the user's liked tracks.

  • 我的数据

¥My Data

  • 获取你关注的艺术家

    ¥Get your followed artists.

  • 播放器

¥Player

  • 将歌曲添加到你的队列。

    ¥Add a song to your queue.

  • 获取你当前正在播放的曲目。

    ¥Get your currently playing track.

  • 跳到下一曲。

    ¥Skip to your next track.

  • 暂停音乐。

    ¥Pause your music.

  • 跳到上一首歌。

    ¥Skip to your previous song.

  • 获取你最近播放的曲目。

    ¥Get your recently played tracks.

  • 在当前活动设备上恢复播放。

    ¥Resume playback on the current active device.

  • 设置当前活动设备的音量。

    ¥Set volume on the current active device.

  • 开始播放播放列表、艺术家或专辑。

    ¥Start playing a playlist, artist, or album.

  • 播放列表

¥Playlist

  • 通过曲目和播放列表 URI 或 ID 从播放列表添加曲目。

    ¥Add tracks from a playlist by track and playlist URI or ID.

  • 创建新播放列表。

    ¥Create a new playlist.

  • 通过 URI 或 ID 获取播放列表。

    ¥Get a playlist by URI or ID.

  • 通过 URI 或 ID 获取播放列表中的曲目。

    ¥Get a playlist's tracks by URI or ID.

  • 获取用户的播放列表

    ¥Get a user's playlists.

  • 按曲目和播放列表 URI 或 ID 从播放列表中移除曲目。

    ¥Remove tracks from a playlist by track and playlist URI or ID.

  • 按关键词搜索播放列表。

    ¥Search playlists by keyword.

  • 跟踪

¥Track

  • 通过 URI 或 ID 获取曲目。

    ¥Get a track by its URI or ID.

  • 通过 URI 或 ID 获取曲目的音频特性。

    ¥Get audio features for a track by URI or ID.

  • 按关键词搜索追踪

    ¥Search tracks by keyword

模板和示例#

¥Templates and examples

Template widget placeholder.

What to do if your operation isn't supported#

If this node doesn't support the operation you want to do, you can use the HTTP Request node to call the service's API.

You can use the credential you created for this service in the HTTP Request node:

  1. In the HTTP Request node, select Authentication > Predefined Credential Type.
  2. Select the service you want to connect to.
  3. Select your credential.

Refer to Custom API operations for more information.