Bridges-Python 3.5.1
Bridges(Python API)
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Properties | List of all members
bridges.data_src_dependent.song.Song Class Reference

A Song object, used along with the Songs data source. More...

Public Member Functions

 __init__ (self, str artist="", str song="", str album="", str lyrics="", str release_date="")
 Constructor.
 

Protected Attributes

 _artist
 
 _song
 
 _lyrics
 
 _album
 
 _release_date
 

Properties

 artist = property
 return artist of song
 
 song_title = property
 return title of song
 
 album_title = property
 return album title
 
 lyrics = property
 return lyrics of song
 
 release_date = property
 return release date of song
 

Detailed Description

A Song object, used along with the Songs data source.

This is a convenience class provided for users who wish to use this data source as part of their application. It provides an API that makes it easy to access the attributes of this data set.

This object is generally not created by the user, to see how its created check out bridges::data_src_dependent::data_source::get_song()

For an example, check out https://bridgesuncc.github.io/tutorials/Data_Song_Lyrics.html

Author
Matthew Mcquaigue, Kalpathi Subramanian
Date
2018, 12/29/20

Constructor & Destructor Documentation

◆ __init__()

bridges.data_src_dependent.song.Song.__init__ (   self,
str   artist = "",
str   song = "",
str   album = "",
str   lyrics = "",
str   release_date = "" 
)

Constructor.

Parameters
artistsong artist
songsong title
albumsong album
lyricslyrics of song
release_daterelease date of song

Member Data Documentation

◆ _album

bridges.data_src_dependent.song.Song._album
protected

◆ _artist

bridges.data_src_dependent.song.Song._artist
protected

◆ _lyrics

bridges.data_src_dependent.song.Song._lyrics
protected

◆ _release_date

bridges.data_src_dependent.song.Song._release_date
protected

◆ _song

bridges.data_src_dependent.song.Song._song
protected

Property Documentation

◆ album_title

bridges.data_src_dependent.song.Song.album_title = property
static

return album title

Returns
album title of song

◆ artist

bridges.data_src_dependent.song.Song.artist = property
static

return artist of song

Returns
artist name of song

◆ lyrics

bridges.data_src_dependent.song.Song.lyrics = property
static

return lyrics of song

Returns
lyrics of song

◆ release_date

bridges.data_src_dependent.song.Song.release_date = property
static

return release date of song

Returns
release date of song

◆ song_title

bridges.data_src_dependent.song.Song.song_title = property
static

return title of song

Returns
song title

The documentation for this class was generated from the following file: