Class Song

java.lang.Object
com.github.connyscode.ctils.jTrack.Song

public class Song
extends java.lang.Object
  • Constructor Details

    • Song

      public Song​(org.json.simple.JSONObject trackObject)
      Create a Track
      Parameters:
      trackObject - song response from genius
      See Also:
      Song
  • Method Details

    • songName

      public java.lang.String songName()
      Returns:
      The name of the Track
    • songFullName

      public java.lang.String songFullName()
      Returns:
      The full name of the Track
      e.g. 'Beat It by Michael Jackson'
      instead of 'Beat It'
    • songAuthor

      public java.lang.String songAuthor()
      Returns:
      The track's artist
    • songHeaderImageUrl

      public java.lang.String songHeaderImageUrl()
      Returns:
      The track's Header as an URL
      (Mostly same as Track.songImageUrl())
    • songImageUrl

      public java.lang.String songImageUrl()
      Returns:
      The track's CoverArt as an URL
    • songImageThumbnailUrl

      public java.lang.String songImageThumbnailUrl()
      Returns:
      The track's CoverArt Thumbnail as an URL
      (A smaller version of the CoverArt Image)
    • songReleaseDate

      public java.lang.String songReleaseDate()
      Returns:
      The track's Release Date
    • songLyrics

      public java.lang.String songLyrics()
      Returns:
      The track's Lyrics
    • songUrl

      public java.lang.String songUrl()
      Returns:
      The track's Genius URL
    • albumName

      public java.lang.String albumName()
      Returns:
      The name of the Album
    • albumFullName

      public java.lang.String albumFullName()
      Returns:
      The full name of the Album
      e.g. 'Beat It by Michael Jackson'
      instead of 'Beat It'
    • albumAuthor

      public java.lang.String albumAuthor()
      Returns:
      The albums's artist
    • albumImageUrl

      public java.lang.String albumImageUrl()
      Returns:
      The albums's CoverArt as an URL
    • albumUrl

      public java.lang.String albumUrl()
      Returns:
      The albums's Genius URL
    • artistName

      public java.lang.String artistName()
      Returns:
      The name of the Artist
    • artistHeaderImageUrl

      public java.lang.String artistHeaderImageUrl()
      Returns:
      The artist's Header as an URL
      (Mostly same as Track.artistImageUrl())
    • artistImageUrl

      public java.lang.String artistImageUrl()
      Returns:
      The artist's Profile Picture as an URL
    • artistUrl

      public java.lang.String artistUrl()
      Returns:
      The artist's Genius URL
    • songGID

      public long songGID()
      Returns:
      The artist's Genius URL
    • albumGID

      public long albumGID()
    • artistGID

      public long artistGID()
    • songPageViews

      public long songPageViews()
    • artistVerified

      public boolean artistVerified()