spotipy
Spotipy Autorized Requests export environment variables
I'm trying to access spotify via the spotipy API from a win10 pro (64Bit) system. In the spotipy documentation it says "...you can set environment variables like so: export SPOTIPY_CLIENT_ID='your-spotify-client-id'" ... Of cource I can use "var SPOTIPY_CLIENT_ID='your-spotify-client-id'" in my script but I'd like to know what this export command means exactly. Is that the export known from a Linux system? I set the necessary spotify variables as environment variables in Win10 but they still were unknown. Does anyone have an idea what it means exactly and how to get it working in win10? Thanks
I don't know if it will work for python scripts, but the windows commands you want would be: SetX SPOTIPY_CLIENT_ID your-spotify-client-id Souce: http://ss64.com/nt/setx.html
Related Links
Is it possible to authorize all requests for a user?
Spotipy Autorized Requests export environment variables