guilhermesad / rspotify

A ruby wrapper for the Spotify Web API
MIT License
717 stars 290 forks source link

Add podcasts support #239

Closed sophiedeziel closed 3 years ago

sophiedeziel commented 3 years ago

Adding partial support for Shows and Episodes that were added to Spotify's API.

This PR does not add support for podcasts under the /me/... URLs, as I wish to get feedback on this first part before I open a new Pull Request implementing the user-specific features around podcasts.

Summary of the changes

Note: I had to cheat the cassettes a little bit, as the client_token needs to be one of a user. So I recorded the cassettes with authentication that I did not want to commit and then I searched and replaced my tokens in each file with the one already in use for the tests. There are some improvements I could submit as another PR to provide a better method of authenticating for tests that does not require to commit tokens and secrets.

guilhermesad commented 3 years ago

This is great, thank you!