- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
my proplem is if I run the code/call the function I get a 404 error but the structur of the api is correct, bc i can call other things with the token + "url". Can somebody help me or has the same issue ?
Code:
def get_current_track(token😞
headers = get_auth_header(token)
query = "?market=DE"
query_url = url + query
result = get(query_url, headers=headers)
json_result = result.json()
return json_result
Thank you
Solved! Go to Solution.
Labels:
- Labels:
-
Can't play the current song
-
Python
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page