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.

凭证

请参阅 Spotify 凭证 了解设置身份验证的指南。

操作(Operations)#

  • 相册
    • 通过 URI 或 ID 获取专辑。
    • 获取新专辑发行列表。
    • 通过 URI 或 ID 获取专辑曲目。
    • 按关键词搜索专辑
  • 艺术家
    • 通过 URI 或 ID 获取艺术家。
    • 通过 URI 或 ID 获取艺术家的专辑。
    • 通过 URI 或 ID 获取艺术家的相关艺术家。
    • 通过 URI 或 ID 获取艺术家的热门曲目。
    • 按关键词搜索艺术家。
    • 获取用户喜欢的曲目。
  • 我的数据
    • 获取你关注的艺术家
  • 播放器
    • 将歌曲添加到你的队列。
    • 获取你当前正在播放的曲目。
    • 跳到下一曲。
    • 暂停音乐。
    • 跳到上一首歌。
    • 获取你最近播放的曲目。
    • 在当前活动设备上恢复播放。
    • 设置当前活动设备的音量。
    • 开始播放播放列表、艺术家或专辑。
  • 播放列表
    • 通过曲目和播放列表 URI 或 ID 从播放列表添加曲目。
    • 创建新播放列表。
    • 通过 URI 或 ID 获取播放列表。
    • 通过 URI 或 ID 获取播放列表中的曲目。
    • 获取用户的播放列表
    • 按曲目和播放列表 URI 或 ID 从播放列表中移除曲目。
    • 按关键词搜索播放列表。
  • 跟踪
    • 通过 URI 或 ID 获取曲目。
    • 通过 URI 或 ID 获取曲目的音频特性。
    • 按关键词搜索追踪

模板和示例(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.