[GH-ISSUE #851] How to get currently playing? #523

Closed
opened 2026-02-27 23:23:07 +03:00 by kerem · 1 comment
Owner

Originally created by @fox-tech0 on GitHub (Sep 5, 2022).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/851

hi how do get currently playing?

my code is this:

import flask
import spotipy
from spotipy.oauth2 import SpotifyClientCredentials

my_user = '31raqyw475t4bxd2mqybdm7ksoie'

spotify = spotipy.Spotify(client_credentials_manager=SpotifyClientCredentials())   

me = spotify.user(my_user)
url = me['uri']

print(me.currently_playing(market=None, additional_types=None))
Originally created by @fox-tech0 on GitHub (Sep 5, 2022). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/851 <!--- Please make sure you've: - read the FAQ https://github.com/plamere/spotipy/blob/master/FAQ.md - read the documentation https://spotipy.readthedocs.io/en/latest/ - searched older issues If your question is about code, please share the code you are using ---> hi how do get currently playing? my code is this: ``` import flask import spotipy from spotipy.oauth2 import SpotifyClientCredentials my_user = '31raqyw475t4bxd2mqybdm7ksoie' spotify = spotipy.Spotify(client_credentials_manager=SpotifyClientCredentials()) me = spotify.user(my_user) url = me['uri'] print(me.currently_playing(market=None, additional_types=None)) ```
kerem 2026-02-27 23:23:07 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@fox-tech0 commented on GitHub (Sep 5, 2022):

nvm

<!-- gh-comment-id:1236664815 --> @fox-tech0 commented on GitHub (Sep 5, 2022): nvm
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#523
No description provided.