Trees | Indices | Help |
|
---|
|
A Song object
id (str): Echo Nest Song ID
title (str): Song Title
artist_name (str): Artist Name
artist_id (str): Artist ID
audio_summary (dict): An Audio Summary dict
song_hotttnesss (float): A float representing a song's hotttnesss
artist_hotttnesss (float): A float representing a song's parent artist's hotttnesss
artist_familiarity (float): A float representing a song's parent artist's familiarity
artist_location (dict): A dictionary of strings specifying a song's parent artist's location, lattitude and longitude
Create a song object like so:
>>> s = song.Song('SOPEXHZ12873FD2AC7')
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
audio_summary Get an audio summary of a song containing mode, tempo, key, duration, time signature, loudness, danceability, energy, and analysis_url. |
|||
song_hotttnesss Get our numerical description of how hottt a song currently is |
|||
artist_hotttnesss Get our numerical description of how hottt a song's artist currently is |
|||
artist_familiarity Get our numerical estimation of how familiar a song's artist currently is to the world |
|||
artist_location Get the location of a song's artist. |
|||
song_type Get the types of a song. |
|||
Inherited from |
|
Song class
Example: >>> s = song.Song('SOPEXHZ12873FD2AC7', buckets=['song_hotttnesss', 'artist_hotttnesss']) >>> s.song_hotttnesss 0.58602500000000002 >>> s.artist_hotttnesss 0.80329715999999995 >>>
|
|
|
Get an audio summary of a song containing mode, tempo, key, duration, time signature, loudness, danceability, energy, and analysis_url. Args:
|
Get our numerical description of how hottt a song currently is Args:
|
Get our numerical description of how hottt a song's artist currently is Args:
|
Get our numerical estimation of how familiar a song's artist currently is to the world
|
Get the location of a song's artist.
|
Get the foreign id for this song for a specific id space Args:
Example: >>> s = song.Song('SOYRVMR12AF729F8DC') >>> s.get_foreign_id('CAGPXKK12BB06F9DE9')
>>>
|
Get the tracks for a song given a catalog.
|
Get the types of a song.
|
|
audio_summaryGet an audio summary of a song containing mode, tempo, key, duration, time signature, loudness, danceability, energy, and analysis_url. Args:
|
song_hotttnesssGet our numerical description of how hottt a song currently is Args:
|
artist_hotttnesssGet our numerical description of how hottt a song's artist currently is Args:
|
artist_familiarityGet our numerical estimation of how familiar a song's artist currently is to the world
|
artist_locationGet the location of a song's artist.
|
song_typeGet the types of a song.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Dec 12 11:24:24 2012 | http://epydoc.sourceforge.net |