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