{-# LANGUAGE DataKinds #-} {-# LANGUAGE OverloadedStrings #-} -- | 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 (APIKey -> Ready) getHypedArtists = api "chart.getHypedArtists" {-# INLINE getHypedArtists #-} -- | Get the top artists chart -- -- Optional: 'page', 'limit' -- -- getHypedTracks :: Request f (APIKey -> Ready) getHypedTracks = api "chart.getHypedTracks" {-# INLINE getHypedTracks #-} -- | Get the most loved tracks chart -- -- Optional: 'page', 'limit' -- -- getLovedTracks :: Request f (APIKey -> Ready) getLovedTracks = api "chart.getLovedTracks" {-# INLINE getLovedTracks #-} -- | Get the top artists chart -- -- Optional: 'page', 'limit' -- -- getTopArtists :: Request f (APIKey -> Ready) getTopArtists = api "chart.getTopArtists" {-# INLINE getTopArtists #-} -- | Get the top artists chart -- -- Optional: 'page', 'limit' -- -- getTopTags :: Request f (APIKey -> Ready) getTopTags = api "chart.getTopTags" {-# INLINE getTopTags #-} -- | Get the top tracks chart -- -- Optional: 'page', 'limit' -- -- getTopTracks :: Request f (APIKey -> Ready) getTopTracks = api "chart.getTopTracks" {-# INLINE getTopTracks #-}