Code Monkey home page Code Monkey logo

Comments (7)

sercangunver avatar sercangunver commented on September 26, 2024 4

I created a pull request for this problem.

from spotifyapi-net.

JohnnyCrazy avatar JohnnyCrazy commented on September 26, 2024 1

Should be fixed in SpotifyAPI Web 7.1.1

Feel free to re-open if that's not the case.

from spotifyapi-net.

JohnnyCrazy avatar JohnnyCrazy commented on September 26, 2024

Seems like spotify is currently on a run with breaking things!

Same to the other issue, did you guys find any information if this is an intended change?

from spotifyapi-net.

JohnnyCrazy avatar JohnnyCrazy commented on September 26, 2024

https://community.spotify.com/t5/Spotify-for-Developers/Get-Artist-reference-bug-receiving-Float-instead-of-Int/m-p/5800203

https://community.spotify.com/t5/Spotify-for-Developers/The-response-type-of-artist-endpoint-is-marked-as-Integer-in/m-p/5800044

from spotifyapi-net.

rogamaral avatar rogamaral commented on September 26, 2024

I haven't found anything that says it's intentional.
Just a few guys complaining about the same thing, the two you listed plus this one:
https://community.spotify.com/t5/Spotify-for-Developers/Get-Artist-API-endpoint-responds-with-result-in-inconsistent/td-p/5806916

from spotifyapi-net.

laurilubi avatar laurilubi commented on September 26, 2024

I ran into the same problem today. I haven't checked Spotifys JSON schema, but if it is a number (not integer) then exponential notation should be allowed. https://json-schema.org/understanding-json-schema/reference/numeric#number

from spotifyapi-net.

laurilubi avatar laurilubi commented on September 26, 2024

I ran into the same problem today. I haven't checked Spotifys JSON schema, but if it is a number (not integer) then exponential notation should be allowed. https://json-schema.org/understanding-json-schema/reference/numeric#number

I went for a workaround with implementing own IJSONSerializer and class CustomIntConverter : JsonConverter<int> where ReadJson() converts to int.

from spotifyapi-net.

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.