pub fn recently_played( client: SpotifyClient, ) -> Result(RecentlyPlayed, SpotifyError)
pub fn to_json(recently_played: RecentlyPlayed) -> Json