spotframework/main.py
2019-08-07 15:45:25 +01:00

13 lines
273 B
Python

def run_user_playlist(event, context):
import base64
name = base64.b64decode(event['data']).decode('utf-8')
username = event['attributes']['username']
from spotframework.google.run_user_playlist import run_user_playlist as run
run(username, name)