class Track():
    artist = ""
    name = ""
    track_id = ""

    def __init__(self, artist, name, track_id=""):
        self.artist = artist
        self.name = name
        self.track_id = track_id

    @staticmethod
    def from_spotify(self, track):
        track_id = track.get("id")
        name = track.get("name")
        artist = ""
        if "artists" in track:
            artist = track["artists"][0]["name"]

        return Track(artist, name, track_id)

    @staticmethod
    def from_gpm(self, track):
        return Track(
            track.get("artist"),
            track.get("title"),
            track.get("storeId")
        )

@@ -197,30 +197,29 @@
 ck_id%0A%0A    @
-static
+class
 method%0A    d
@@ -234,20 +234,19 @@
 spotify(
-self
+cls
 , track)
@@ -431,21 +431,19 @@
  return 
-Track
+cls
 (artist,
@@ -469,14 +469,13 @@
    @
-static
+class
 meth
@@ -494,20 +494,19 @@
 rom_gpm(
-self
+cls
 , track)
@@ -522,21 +522,19 @@
  return 
-Track
+cls
 (%0A      

Change from_spotify and from_gpm to classmethods