Spotify API Tutorial - Save Song Data (Easy Python Project)

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 2025

ความคิดเห็น • 12

  • @imdadcodes
    @imdadcodes  10 หลายเดือนก่อน

    📹MORE SPOTIFY API TUTORIALS: th-cam.com/video/2if5xSaZJlg/w-d-xo.html

  • @Dresstosweatdottv
    @Dresstosweatdottv 12 วันที่ผ่านมา

    thanks man, you are one of the best on youtube! I'm trying to create a project for my datascience BootCamp that can analyse top performing songs, let me know if you have any suggestions on how to do it,

  • @xufeike383
    @xufeike383 9 หลายเดือนก่อน +1

    Thank you, i like this video!

  • @hissanbinzaheer7822
    @hissanbinzaheer7822 10 หลายเดือนก่อน

    Helloo imdad . could you help on how to deploy these websites ? i am trying to deploy a website that asks user for their spotify authorization and stores it in mongodb but im running into a few errors . thanks

  • @FallenJakarta
    @FallenJakarta 7 หลายเดือนก่อน

    hai imdad, love your video! could you please share the code?

  • @ezenaguchinemerem4214
    @ezenaguchinemerem4214 8 หลายเดือนก่อน

    Am special😅😊

  • @HotkeyGaming
    @HotkeyGaming 10 หลายเดือนก่อน

    Hi Imdad,
    I've tried following your lovely tutorial, but when i run the program i get an error and not the expected input query :(
    Traceback (most recent call last):
    File ".\Spotify\main.py", line 15, in
    client_credentials_manager = SpotifyClientCredentials(
    ^^^^^^^^^^^^^^^^^^^^^^^^^
    File ".\Spotify\venv\Lib\site-packages\spotipy\oauth2.py", line 201, in __init__
    self.client_id = client_id
    ^^^^^^^^^^^^^^
    File ".\Spotify\venv\Lib\site-packages\spotipy\oauth2.py", line 94, in client_id
    self._client_id = _ensure_value(val, "client_id")
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File ".\Spotify\venv\Lib\site-packages\spotipy\oauth2.py", line 70, in _ensure_value
    raise SpotifyOauthError(msg)
    spotipy.oauth2.SpotifyOauthError: No client_id. Pass it or set a SPOTIPY_CLIENT_ID environment variable.

    • @imdadcodes
      @imdadcodes  10 หลายเดือนก่อน

      Just to confirm, you created a .env file in the project directory and have values for CLIENT_ID and CLIENT_SECRET?

    • @HotkeyGaming
      @HotkeyGaming 10 หลายเดือนก่อน

      @@imdadcodes yes indeed,
      export CLIENT_ID = "with id"
      export CLIENT_SECRET = "with secret"

    • @imdadcodes
      @imdadcodes  10 หลายเดือนก่อน

      And you ran `source .env`?
      You can confirm by running echo $CLIENT_ID in the terminal and it should print out the client id..