mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[PR #249] [MERGED] Simplify recommendations endpoint #340
Labels
No labels
Stale
bug
discussion
enhancement
good first issue
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rspotify#340
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ramsayleung/rspotify/pull/249
Author: @marioortizmanero
Created: 8/31/2021
Status: ✅ Merged
Merged: 9/2/2021
Merged by: @ramsayleung
Base:
master← Head:simplify-recommendations📝 Commits (4)
a3d14dcSimplify recommendations0c767e7Fix CI, generics for HashMap, ready 4 review0b2c479Serialize attributes5d228abupdate changelog📊 Changes
4 files changed (+130 additions, -49 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
rspotify-model/src/recommend.rs(+105 -0)📝
src/clients/base.rs(+15 -39)📝
tests/test_with_oauth.rs(+9 -10)📄 Description
Description
The recommendations endpoint was very messy and had a long-standing TODO item. I've simplified it so that it just takes a map with the attributes that are directly appended to the query payload.
Dependencies
None
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
The
test_recommendationsendpoint🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.