Top

spotify.object.snapshot module

lass Snapshot(object):
   def __init__(self, id):
       self.id = id
   @classmethod
   def from_json(cls, json):
       return Snapshot(
           json['snapshot_id']
       )

Classes

class Snapshot

class Snapshot(object):

    def __init__(self, id):
        self.id = id

    @classmethod
    def from_json(cls, json):
        return Snapshot(
            json['snapshot_id']
        )

Ancestors (in MRO)

Instance variables

var id

Methods

def __init__(

self, id)

def __init__(self, id):
    self.id = id

def from_json(

cls, json)

@classmethod
def from_json(cls, json):
    return Snapshot(
        json['snapshot_id']
    )