Proxies – object proxies

Copyright (c) 2010 The Echo Nest. All rights reserved. Created by Tyler Williams on 2010-04-25.

class pyechonest.proxies.ArtistProxy(identifier, buckets=None, **kwargs)
__init__(identifier, buckets=None, **kwargs)
get_attribute(*args, **kwargs)
class pyechonest.proxies.CatalogProxy(identifier, type, buckets=None, **kwargs)
__init__(identifier, type, buckets=None, **kwargs)
get_attribute(*args, **kwargs)
get_attribute_simple(*args, **kwargs)
post_attribute(*args, **kwargs)
class pyechonest.proxies.DeprecatedPlaylistProxy(session_id, buckets=None, **kwargs)
__init__(session_id, buckets=None, **kwargs)
get_attribute(*args, **kwargs)
class pyechonest.proxies.GenericProxy
__init__()
get_attribute(method_name, **kwargs)
post_attribute(method_name, **kwargs)
class pyechonest.proxies.PlaylistProxy(session_id=None, buckets=None, **kwargs)
__init__(session_id=None, buckets=None, **kwargs)
get_attribute(method, **kwargs)
class pyechonest.proxies.ResultList(li, start=0, total=0)
__init__(li, start=0, total=0)
class pyechonest.proxies.SongProxy(identifier, buckets=None, **kwargs)
__init__(identifier, buckets=None, **kwargs)
get_attribute(*args, **kwargs)
class pyechonest.proxies.TrackProxy(identifier, md5, properties)
__init__(identifier, md5, properties)

You should not call this constructor directly, rather use the convenience functions that are in track.py. For example, call track.track_from_filename Let’s always get the bucket audio_summary

Previous topic

Config – configuration file

This Page