Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
import json
import os
def get_spotipy_auth():
f = open('/home/musicpi/SpotiStation/.creds') #TODO generalise
credentials = json.load(f)
for k,v in credentials.items():
print(f"setting {v} to ${k}")
os.environ[k] = str(v)
e87ba7b2cThis file is pinned to the selected release. Download the original to open it in your design tool.