ramsayleung / rspotify

Spotify Web API SDK implemented on Rust
MIT License
639 stars 123 forks source link

Fix docs links for `rspotify` #284

Closed marioortizmanero closed 2 years ago

marioortizmanero commented 2 years ago

Description

This updates the client's documentation to the latest version of the Spotify reference for the rspotify crate (not rspotify-model).

Motivation and Context

Works towards #281

Dependencies

None

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Unfortunately, cargo-deadlinks doesn't pick up the new endpoint links. It will print out this:

Fragment #/operations/remove-tracks-playlist at https://developer.spotify.com/documentation/web-api/reference/#/operations/remove-tracks-playlist does not exist!

But that link does, in fact, work.

As far as I know the changes in the URLs were relatively trivial, and running a substitution s/endpoint-/\/operations\// was enough for the endpoints. The rest of the links were checked manually and should work just fine.