From d85645f52289760aebd91ef48356a0724182931d Mon Sep 17 00:00:00 2001 From: Rafael Moraes <50295204+glomatico@users.noreply.github.com> Date: Fri, 27 Feb 2026 23:07:49 -0300 Subject: [PATCH] Support 'me' nesting in user_profile --- votify/api/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/votify/api/api.py b/votify/api/api.py index 4ce084f..85d5391 100644 --- a/votify/api/api.py +++ b/votify/api/api.py @@ -42,6 +42,7 @@ class SpotifyApi: return ( getattr(self, "user_profile", {}) .get("data", {}) + .get("me", {}) .get("account", {}) .get("product") == "PREMIUM"