ramsayleung / rspotify

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

Implement "Get the User's Queue" #362

Closed ljufa closed 2 years ago

ljufa commented 2 years ago

Description

Missing endpoint /v1/me/player/queue implemented https://developer.spotify.com/documentation/web-api/reference/#/operations/get-queue


Motivation and Context

It was missing

Dependencies

No

Type of change

Please delete options that are not relevant.

How has this been tested?

Model test

Please also list any relevant details for your test configuration

Is this change properly documented?

Please make sure you've properly documented the changes you're making.

Don't forget to add an entry to the CHANGELOG if necessary (new features, breaking changes, relevant internal improvements).

ramsayleung commented 2 years ago

There is one more thing, I think it's necessary to add an entry to the CHANGELOG.md, this PR adds a new endpoint.

ljufa commented 2 years ago

thank you for quick review, both changes addressed.

ramsayleung commented 2 years ago

The CI checks fail, you need to fix the Clippy and Format error before merging this PR :)

ramsayleung commented 2 years ago

Merged, thanks again for your contribution :)