{-# LANGUAGE DataKinds #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE UnicodeSyntax #-} -- | Lastfm chart API -- -- This module is intended to be imported qualified: -- -- @ -- import qualified Network.Lastfm.Chart as Chart -- @ module Network.Lastfm.Chart ( getHypedArtists, getHypedTracks, getLovedTracks , getTopArtists, getTopTags, getTopTracks ) where import Network.Lastfm.Request -- | Get the hyped artists chart -- -- Optional: 'page', 'limit' -- -- getHypedArtists ∷ Request f Send (APIKey → Ready) getHypedArtists = api "chart.getHypedArtists" {-# INLINE getHypedArtists #-} -- | Get the top artists chart -- -- Optional: 'page', 'limit' -- -- getHypedTracks ∷ Request f Send (APIKey → Ready) getHypedTracks = api "chart.getHypedTracks" {-# INLINE getHypedTracks #-} -- | Get the most loved tracks chart -- -- Optional: 'page', 'limit' -- -- getLovedTracks ∷ Request f Send (APIKey → Ready) getLovedTracks = api "chart.getLovedTracks" {-# INLINE getLovedTracks #-} -- | Get the top artists chart -- -- Optional: 'page', 'limit' -- -- getTopArtists ∷ Request f Send (APIKey → Ready) getTopArtists = api "chart.getTopArtists" {-# INLINE getTopArtists #-} -- | Get the top artists chart -- -- Optional: 'page', 'limit' -- -- getTopTags ∷ Request f Send (APIKey → Ready) getTopTags = api "chart.getTopTags" {-# INLINE getTopTags #-} -- | Get the top tracks chart -- -- Optional: 'page', 'limit' -- -- getTopTracks ∷ Request f Send (APIKey → Ready) getTopTracks = api "chart.getTopTracks" {-# INLINE getTopTracks #-}