A Song object, used along with the Songs data source.
More...
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
◆ __init__()
| bridges.data_src_dependent.song.Song.__init__ |
( |
|
self, |
|
|
str |
artist = "", |
|
|
str |
song = "", |
|
|
str |
album = "", |
|
|
str |
lyrics = "", |
|
|
str |
release_date = "" |
|
) |
| |
Constructor.
- Parameters
-
| artist | song artist |
| song | song title |
| album | song album |
| lyrics | lyrics of song |
| release_date | release date of song |
◆ _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 |
◆ 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:
- /home/erik/work/bridges/bridges-python/bridges/data_src_dependent/song.py