Skip to content

Instantly share code, notes, and snippets.

@lohxx
Last active March 1, 2019 20:32
Show Gist options
  • Save lohxx/f7f73575e4c0a2fe44bfee408331c38b to your computer and use it in GitHub Desktop.
Save lohxx/f7f73575e4c0a2fe44bfee408331c38b to your computer and use it in GitHub Desktop.
Migrador de playlist
# spotify
import click
import flask
class Song:
def __init__(self, name, artist):
self.name = name
self.artist = artist
def search(self):
# faz get em uma api
pass
class Playlist:
songs = []
def __init__(self, has_music, name):
self.has_music = has_music
self.name = name
def songs(self):
pass
def get_musics(self):
pass
def copy(self):
pass
def upload_music(self):
pass
class Adapter:
def get_music(self): return;
def get_playlist(self): return;
def create_playlist(self): return;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment