I'm interested in getting a user's past listening history from Spotify (API call to recently played) and being able to suggest songs from the Charts (another API call for current chat listings) that a user may be interested in listening to.
It's clear that you could use Genre to support this type of algorithm, the more times a user listenes to a genere, it has a higher likelihood of being suggested from the Charts (weight?).
I'd like to focus on the activity of a single user and not necessarily other users using the system (content based filtering and not collaborative filtering)
How can this be done in practice? Are there any examples of algorithms or tutorials anywhere?