Top

spotify.object.followers module

lass Followers(object):
   def __init__(self, href, total):
       self.href = href
       self.total = total
   @classmethod
   def from_json(cls, json):
       return Followers(
           json['href'],
           json['total']
       )

Classes

class Followers

class Followers(object):

    def __init__(self, href, total):
        self.href = href
        self.total = total

    @classmethod
    def from_json(cls, json):
        return Followers(
            json['href'],
            json['total']
        )

Ancestors (in MRO)

Instance variables

var href

var total

Methods

def __init__(

self, href, total)

def __init__(self, href, total):
    self.href = href
    self.total = total

def from_json(

cls, json)

@classmethod
def from_json(cls, json):
    return Followers(
        json['href'],
        json['total']
    )