Closed John-Garrett closed 9 years ago
Rolled in to API, not in UI yet.
Basic instructions:
POST https://swimmadev.xyz/api/login
headers: {"Content-Type":"Application/json", "Accept":"Application/json"}
body: {"Username": "your username", "Password":"yourpassword"}
will return with a session key. Save this for use as an API key for the next call
POST https://swimmadev.xyz/api/playlists/import
headers: {"Content-Type":"Application/json", "Authorization":"Your API key HERE"}
body: {"Name":"Name to be displayed in your playlists window", "PlaylistID": "ID of the YT playlist" }
This will take a second, and return with {"Success":true}
on successful import.
I'd like to be able to paste the URL for a youtube playlist.