Skip to content

Add user music preference endpoints and fix scope configuration - #40

Open
bbrewington wants to merge 2 commits into
varunneal:mainfrom
bbrewington:main
Open

Add user music preference endpoints and fix scope configuration#40
bbrewington wants to merge 2 commits into
varunneal:mainfrom
bbrewington:main

Conversation

@bbrewington

@bbrewington bbrewington commented Aug 29, 2025

Copy link
Copy Markdown

Changes Made

  1. Added the following tool execution requests in server.py:

    • RecentlyPlayed: Get recently played tracks with timestamps and play context
    • FollowedArtists: Get artists that the user follows
    • TopContent: Get user's top artists or tracks over different time periods
    • SavedTracks: Get user's saved (liked) tracks with metadata
  2. Previously, the scopes were defined as a global variable, then re-defined as a comma-delimited string. I made a change so that the class variable scopes is now defined from global var SCOPES

For some context, here's what I was working on at time of creating this PR: https://www.linkedin.com/posts/brentbrewington_fun-weeknight-project-playing-around-with-activity-7367015211037380610-jF5b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant