Advertisement
djmango

metafill parseplaylist example

Jul 23rd, 2021
1,431
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. import requests
  2.  
  3. url = "https://metafill.aslice.com/api/parseplaylist/"
  4.  
  5. payload={'playlist': '[{"artist": "wolfmother", "track": "mother"}]'}
  6. headers = {
  7.   'Authorization': 'Basic AUTHHERE'
  8. }
  9.  
  10. response = requests.request("POST", url, headers=headers, data=payload)
  11.  
  12. print(response.text)
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement