如何从URI获取Spotify图像

发布于 2025-02-01 08:19:30 字数 199 浏览 1 评论 0 原文

我有这样的URI:

spotify:image:ab67616d0000b2737005885df706891a3c182a57

我想知道如何从该URI获取图像?我目前正在使用Web API。我想我可能需要将URI转换为图像URL。

我在Google或API文档中看不到其他任何地方。接下来我可以尝试什么?

I have a URI like this:

spotify:image:ab67616d0000b2737005885df706891a3c182a57

I want to know how to get the image from this URI? I'm currently using the Web API. I imagine I might need to convert the URI into the image URL some how.

I can't see anything elsewhere on Google or in the API docs. What can I try next?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

当梦初醒 2025-02-08 08:19:30

我认为答案是您不能在两者之间进行转换,但是如果有人有一天来做这样做的方法,我会很乐意将您的答案标记为接受。

I think the answer is you can't convert between the two, but if someone comes along one day with a way to do it I'll happily mark your answer as accepted instead.

美煞众生 2025-02-08 08:19:30

事实证明,您可以,泰勒:

我用几张图像尝试了一下,它似乎在起作用。

Turns out you can, Tyler:

https://i.scdn.co/image/ab67616d0000b2737005885df706891a3c182a57

I tried that with a couple of images and it seems to be working.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文