Code Monkey home page Code Monkey logo

Comments (6)

ramsayleung avatar ramsayleung commented on August 11, 2024

Of course, there is no reason to not implement the images field. But it seems the track object (full) in the reference doesn't has key called images, but in the mocked result of trace endpoint, it does has a key named images. Well, I am confused now, should I have the images field or not ?

from rspotify.

SethGower avatar SethGower commented on August 11, 2024

I have tried testing it with calls, and there is a returned parameter for images. I have gotten around it currently by just getting the image I want from going from track->album->image. I tried forking and implementing it myself. And was going to make a pull request. I am new to rust so it didn't work. But I may attempt again in the next couple of days if you don't get around to it.

from rspotify.

SethGower avatar SethGower commented on August 11, 2024

I just opened an issue on the GH issue tracker for the web-api.

from rspotify.

ramsayleung avatar ramsayleung commented on August 11, 2024

It seems the images field is in the simplified album object, but not in the full track object, sorry for misleading you to the wrong way. Actual, there is a field named images in simplified album object or full album, I already have implemented it before.

from rspotify.

SethGower avatar SethGower commented on August 11, 2024

I realize it is in the Album object, that is what I am using in my app instead. But I still think it is an error with spotify's documentation that the images part of the result for a FullTrack is missing.

from rspotify.

marioortizmanero avatar marioortizmanero commented on August 11, 2024

I'll close this for now, since it seems that even with the new reference the images field isn't documented: https://developer.spotify.com/documentation/web-api/reference/#/operations/get-track. Even then, I haven't been able to reproduce it. And it seems to be a non-issue anyway.

from rspotify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.