zmb3 / spotify

A Go wrapper for the Spotify Web API
Apache License 2.0
1.34k stars 284 forks source link

Implement changes in the audio analysis endpoint response #125

Closed qnten closed 4 years ago

qnten commented 4 years ago

Closes #124 and additionally implements changes of the num_samples and analysis_sample_rate fields.

zmb3 commented 4 years ago

Are these changes backwards compatible, or does it now require a string (meaning it will break with number)?

As a side note - I never knew about ,string in a JSON tag. Thanks for teaching me something :-)