Safe Haskell | None |
---|---|
Language | Haskell2010 |
AcousticBrainz.HighLevel
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 #
Constructors
Danceable | |
NotDanceable |
Instances
Instances
Eq Gender Source # | |
Ord Gender Source # | |
Read Gender Source # | |
Show Gender Source # | |
FromJSON (FiniteDistribution Gender) Source # | |
Defined in AcousticBrainz.HighLevel Methods parseJSON :: Value -> Parser (FiniteDistribution Gender) # parseJSONList :: Value -> Parser [FiniteDistribution Gender] # |
Constructors
Acoustic | |
NotAcoustic |
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 Methods parseJSON :: Value -> Parser (FiniteDistribution Acoustic) # parseJSONList :: Value -> Parser [FiniteDistribution Acoustic] # |
data Aggressive Source #
Constructors
Aggressive | |
NotAggressive |
Instances
data Electronic Source #
Constructors
Electronic | |
NotElectronic |
Instances
Constructors
Relaxed | |
NotRelaxed |
Instances
Eq Relaxed Source # | |
Ord Relaxed Source # | |
Defined in AcousticBrainz.HighLevel | |
Read Relaxed Source # | |
Show Relaxed Source # | |
FromJSON (FiniteDistribution Relaxed) Source # | |
Defined in AcousticBrainz.HighLevel Methods parseJSON :: Value -> Parser (FiniteDistribution Relaxed) # parseJSONList :: Value -> Parser [FiniteDistribution Relaxed] # |
Instances
Eq Timbre Source # | |
Ord Timbre Source # | |
Read Timbre Source # | |
Show Timbre Source # | |
FromJSON (FiniteDistribution Timbre) Source # | |
Defined in AcousticBrainz.HighLevel Methods parseJSON :: Value -> Parser (FiniteDistribution Timbre) # parseJSONList :: Value -> Parser [FiniteDistribution Timbre] # |
Constructors
Instrumental | |
Vocal |
Constructors
Feature Version (FiniteDistribution t) |
Instances
Eq t => Eq (Feature t) Source # | |
Ord t => Ord (Feature t) Source # | |
(Ord t, Read t) => Read (Feature t) Source # | |
Show t => Show (Feature t) Source # | |
FromJSON (FiniteDistribution t) => FromJSON (Feature t) Source # | |
data HighLevelData Source #
Constructors
Instances
data HighLevelResponse Source #
Constructors
HighLevelResponse | |
Fields
|
Instances
Eq HighLevelResponse Source # | |
Defined in AcousticBrainz.HighLevel Methods (==) :: HighLevelResponse -> HighLevelResponse -> Bool # (/=) :: HighLevelResponse -> HighLevelResponse -> Bool # | |
Read HighLevelResponse Source # | |
Defined in AcousticBrainz.HighLevel Methods readsPrec :: Int -> ReadS HighLevelResponse # readList :: ReadS [HighLevelResponse] # | |
Show HighLevelResponse Source # | |
Defined in AcousticBrainz.HighLevel Methods showsPrec :: Int -> HighLevelResponse -> ShowS # show :: HighLevelResponse -> String # showList :: [HighLevelResponse] -> ShowS # | |
FromJSON HighLevelResponse Source # | |
Defined in AcousticBrainz.HighLevel Methods parseJSON :: Value -> Parser HighLevelResponse # parseJSONList :: Value -> Parser [HighLevelResponse] # |
newtype HighLevelException Source #
Constructors
HighLevelException String |