Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- getHighLevelData :: MonadIO m => MonadThrow m => MusicBrainzIdentifier -> m HighLevelResponse
- data Danceability
- data Gender
- data Acoustic
- data Aggressive
- data Electronic
- data Happy
- data Party
- data Relaxed
- data Sad
- data Timbre
- data Tonal
- data Vocal
- data Feature t = Feature Version (FiniteDistribution t)
- data HighLevelData = HighLevelData {
- _danceability :: Feature Danceability
- _gender :: Feature Gender
- _genreDortmund :: Feature Genre
- _genreElectronic :: Feature Genre
- _genreRosamerica :: Feature Genre
- _genreTzanetakis :: Feature Genre
- _ismir04rhythm :: Feature Genre
- _mirexMood :: Feature Mood
- _moodAcoustic :: Feature Acoustic
- _moodAggressive :: Feature Aggressive
- _moodElectronic :: Feature Electronic
- _moodHappy :: Feature Happy
- _moodParty :: Feature Party
- _moodRelaxed :: Feature Relaxed
- _moodSad :: Feature Sad
- _timbre :: Feature Timbre
- _tonal :: Feature Tonal
- _vocal :: Feature Vocal
- parseMetaData :: Value -> Parser MetaData
- data HighLevelResponse = HighLevelResponse {}
- newtype HighLevelException = HighLevelException String
Documentation
getHighLevelData :: MonadIO m => MonadThrow m => MusicBrainzIdentifier -> m HighLevelResponse Source #
Call the following endpoint: https://acousticbrainz.readthedocs.io/api.html#get--api-v1-(uuid-mbid)-high-level .
data Danceability Source #
Instances
Eq Danceability Source # | |
Defined in AcousticBrainz.HighLevel (==) :: Danceability -> Danceability -> Bool # (/=) :: Danceability -> Danceability -> Bool # | |
Ord Danceability Source # | |
Defined in AcousticBrainz.HighLevel compare :: Danceability -> Danceability -> Ordering # (<) :: Danceability -> Danceability -> Bool # (<=) :: Danceability -> Danceability -> Bool # (>) :: Danceability -> Danceability -> Bool # (>=) :: Danceability -> Danceability -> Bool # max :: Danceability -> Danceability -> Danceability # min :: Danceability -> Danceability -> Danceability # | |
Read Danceability Source # | |
Defined in AcousticBrainz.HighLevel readsPrec :: Int -> ReadS Danceability # readList :: ReadS [Danceability] # | |
Show Danceability Source # | |
Defined in AcousticBrainz.HighLevel showsPrec :: Int -> Danceability -> ShowS # show :: Danceability -> String # showList :: [Danceability] -> ShowS # | |
FromJSON (FiniteDistribution Danceability) Source # | |
Defined in AcousticBrainz.HighLevel |
Instances
Eq Acoustic Source # | |
Ord Acoustic Source # | |
Defined in AcousticBrainz.HighLevel | |
Read Acoustic Source # | |
Show Acoustic Source # | |
FromJSON (FiniteDistribution Acoustic) Source # | |
Defined in AcousticBrainz.HighLevel parseJSON :: Value -> Parser (FiniteDistribution Acoustic) # parseJSONList :: Value -> Parser [FiniteDistribution Acoustic] # |
data Aggressive Source #
Instances
data Electronic Source #
Instances
Instances
Eq Relaxed Source # | |
Ord Relaxed Source # | |
Read Relaxed Source # | |
Show Relaxed Source # | |
FromJSON (FiniteDistribution Relaxed) Source # | |
Defined in AcousticBrainz.HighLevel parseJSON :: Value -> Parser (FiniteDistribution Relaxed) # parseJSONList :: Value -> Parser [FiniteDistribution Relaxed] # |
data HighLevelData Source #
Instances
data HighLevelResponse Source #
Instances
Eq HighLevelResponse Source # | |
Defined in AcousticBrainz.HighLevel (==) :: HighLevelResponse -> HighLevelResponse -> Bool # (/=) :: HighLevelResponse -> HighLevelResponse -> Bool # | |
Read HighLevelResponse Source # | |
Defined in AcousticBrainz.HighLevel | |
Show HighLevelResponse Source # | |
Defined in AcousticBrainz.HighLevel showsPrec :: Int -> HighLevelResponse -> ShowS # show :: HighLevelResponse -> String # showList :: [HighLevelResponse] -> ShowS # | |
FromJSON HighLevelResponse Source # | |
Defined in AcousticBrainz.HighLevel parseJSON :: Value -> Parser HighLevelResponse # parseJSONList :: Value -> Parser [HighLevelResponse] # |
newtype HighLevelException Source #