The cl-lastfm Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The cl-lastfm Reference Manual

This is the cl-lastfm Reference Manual, version 0.1, generated automatically by Declt version 2.4 "Will Decker" on Wed Jun 20 11:12:30 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

cl-lastfm

Build Status Build Status

A Common Lisp wrapper around Last.fm 2.0 web service.

Intallation

Add the projet and load it using Quicklisp:

CL-USER> (push #p"/projects/cl-lastfm/" asdf:*central-registry*)
CL-USER> (ql:quickload "cl-lastfm")

Hacking

Fork, hack and run unit tests:

CL-USER> (setq lisp-unit:*print-failures* t)
CL-USER> (setq lisp-unit:*print-errors* t)
CL-USER> (setq lisp-unit:*print-summary* t)
CL-USER> (setf cl-lastfm-test::*api-key* "xxxx")
CL-USER> (lisp-unit:run-tests :all :cl-lastfm-test)

Usage

Get a LastFM API Key and make some requests:

CL-USER> (setq *api-key* "xxxxx")
CL-USER> (cl-lastfm:artist-get-info *api-key* :artist-name "U2")

API

The Last.fm Web Services API is described here :

http://www.lastfm.fr/api

cl-lastfm implements theses features :

Album

[ ] album.addTags
[x] album.getInfo
[ ] album.getTags
[ ] album.removeTag
[x] album.search

Artist

[ ] artist.addTags
[x] artist.getEvents
[x] artist.getInfo
[x] artist.getSimilar
[ ] artist.getTags
[x] artist.getTopAlbums
[x] artist.getTopFans
[x] artist.getTopTags
[x] artist.getTopTracks
[ ] artist.removeTag
[x] artist.search
[ ] artist.share

Auth

[ ] auth.getMobileSession
[ ] auth.getSession
[ ] auth.getToken
[ ] auth.getWebSession

Event

[ ] event.attend
[x] event.getInfo
[ ] event.getShouts
[ ] event.share

Geo

[x] geo.getEvents
[x] geo.getTopArtists
[x] geo.getTopTracks

Group

[x] group.getmembers
[x] group.getWeeklyAlbumChart
[x] group.getWeeklyArtistChart
[x] group.getWeeklyChartList
[x] group.getWeeklyTrackChart

Library

[ ] library.addAlbum
[ ] library.addArtist
[ ] library.addTrack
[x] library.getAlbums
[x] library.getArtists
[x] library.getTracks

Playlist

[ ] playlist.addTrack
[ ] playlist.create
[ ] playlist.fetch

Tag

[x] tag.getSimilar
[x] tag.getTopAlbums
[x] tag.getTopArtists
[x] tag.getTopTags
[x] tag.getTopTracks
[x] tag.getWeeklyArtistChart
[x] tag.getWeeklyChartList
[x] tag.search

Tasteometer

[x] tasteometer.compare

Track

[ ] track.addTags
[ ] track.ban
[x] track.getInfo
[x] track.getSimilar
[x] track.getTags
[x] track.getTopFans
[x] track.getTopTags
[ ] track.love
[ ] track.removeTag
[x] track.search
[ ] track.share

User

[x] user.getEvents
[x] user.getFriends
[ ] user.getInfo
[x] user.getLovedTracks
[x] user.getNeighbours
[ ] user.getPastEvents
[ ] user.getPlaylists
[x] user.getRecentTracks
[ ] user.getRecommendedEvents
[x] user.getShouts
[x] user.getTopAlbums
[x] user.getTopArtists
[x] user.getTopTags
[x] user.getTopTracks
[x] user.getWeeklyAlbumChart
[x] user.getWeeklyArtistChart
[x] user.getWeeklyChartList
[x] user.getWeeklyTrackChart

Changelog

A changelog is available here.

Contact

Nicolas Lamirault nicolas.lamirault@gmail.com


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 cl-lastfm

Maintainer

Nicolas Lamirault <nicolas.lamirault@gmail.com>

Author

Nicolas Lamirault <nicolas.lamirault@gmail.com>

License

MIT License

Description

Common Lisp wrapper for the Last.fm web service.

Version

0.1

Dependencies
Source

cl-lastfm.asd (file)

Component

src (module)


Next: , Previous: , Up: Top   [Contents][Index]

3 Modules

Modules are listed depth-first from the system components tree.


Previous: , Up: Modules   [Contents][Index]

3.1 cl-lastfm/src

Parent

cl-lastfm (system)

Location

src/

Components

Next: , Previous: , Up: Top   [Contents][Index]

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.1 cl-lastfm.asd

Location

cl-lastfm.asd

Systems

cl-lastfm (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.2 cl-lastfm/src/package.lisp

Parent

src (module)

Location

src/package.lisp

Packages

cl-lastfm


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.3 cl-lastfm/src/conditions.lisp

Dependency

package.lisp (file)

Parent

src (module)

Location

src/conditions.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.4 cl-lastfm/src/specials.lisp

Dependency

package.lisp (file)

Parent

src (module)

Location

src/specials.lisp

Exported Definitions

*debug* (special variable)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.5 cl-lastfm/src/tools.lisp

Dependencies
Parent

src (module)

Location

src/tools.lisp

Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

4.1.6 cl-lastfm/src/lastfm.lisp

Dependency

tools.lisp (file)

Parent

src (module)

Location

src/lastfm.lisp

Exported Definitions
Internal Definitions

with-lastfm-stream (macro)


Next: , Previous: , Up: Top   [Contents][Index]

5 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

5.1 cl-lastfm

Common Lisp wrapper to Last.fm web service.
See more explanation from the @a[http://www.lastfm.fr/api]{website}. It has been tested under @a[http://www.sbcl.org]{SBCL}

@begin[Albums]{section}
@aboutfun{album-get-info}
@aboutfun{album-search}
@end{section}

@begin[Artists]{section}
@aboutfun{artist-get-events}
@aboutfun{artist-get-info}
@aboutfun{artist-get-similar}
@aboutfun{artist-get-top-albums}
@aboutfun{artist-get-top-fans}
@aboutfun{artist-get-top-tags}
@aboutfun{artist-get-top-tracks}
@aboutfun{artist-search}
@end{section}

@begin[Geo]{section}
@aboutfun{geo-get-events}
@aboutfun{geo-top-artists}
@aboutfun{geo-top-tracks}
@end{section}

@begin[User]{section}
@aboutfun{user-get-events}
@aboutfun{user-get-friends}
@aboutfun{user-get-loved-tracks}
@aboutfun{user-get-neighbours}
@aboutfun{user-get-top-albums}
@aboutfun{user-get-top-artists}
@aboutfun{user-get-top-tags}
@aboutfun{user-get-top-tracks}
@aboutfun{user-get-recent-tracks}
@aboutfun{user-get-shouts} @aboutfun{user-get-weekly-album-chart} @aboutfun{user-get-weekly-artist-chart} @aboutfun{user-get-weekly-chart-list} @aboutfun{user-get-weekly-track-chart}
@end{section}

@begin[Group]{section}
@aboutfun{group-get-members} @aboutfun{group-get-weekly-album-chart} @aboutfun{group-get-weekly-artist-chart} @aboutfun{group-get-weekly-chart-list} @aboutfun{group-get-weekly-track-chart}
@end{section}

@begin[Library]{section}
@aboutfun{library-get-albums}
@aboutfun{library-get-artists}
@aboutfun{library-get-tracks}
@end{section}

@begin[Tag]{section}
@aboutfun{tag-get-similar}
@aboutfun{tag-get-similar}
@aboutfun{tag-get-top-albums}
@aboutfun{tag-get-top-artists}
@aboutfun{tag-get-top-tracks}
@aboutfun{tag-get-top-tags} @aboutfun{tag-get-weekly-artist-chart} @aboutfun{tag-get-weekly-chart-list}
@aboutfun{tag-search}
@end{section}

@begin[Track]{section}
@aboutfun{track-get-info}
@aboutfun{track-get-similar}
@aboutfun{track-get-top-fans}
@aboutfun{track-get-top-tags}
@aboutfun{track-search}
@end{section}

@begin[Events]{section}
@aboutfun{event-get-info}
@aboutfun{event-get-shouts}
@end{section}

@begin[TasteOMeter]{section}
@aboutfun{tasteometer-compare}
@end{section}

Source

package.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Special variables

Special Variable: *debug*

If T activate some logs.

Package

cl-lastfm

Source

specials.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.2 Functions

Function: album-get-info API-KEY &key ARTIST-NAME ALBUM-NAME MBID LANG

@short{Get the metadata for an album on Last.fm using the album name or a musicbrainz id. See @fun{playlist-fetch} on how to get the album playlist. This service does not require authentication.}
@arg[api-key]{A Last.fm API key}
@arg[artist-name]{The artist name in question}
@arg[album-name]{The album name in question}
@arg[mbid]{The musicbrainz id for the album}
@arg[lang]{The language to return the biography in, expressed as an ISO 639 alpha-2 code}
@see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: album-search API-KEY ALBUM-NAME &key LIMIT PAGE

@short{Search for an album by name. Returns album matches sorted by relevance. This service does not require authentication.}
@arg[api-key]{A Last.fm API key}
@arg[album-name]{The album name in question}
@arg[limit]{Limit the number of albums returned at one time. Default (maximum) is 30}
@arg[page]{Scan into the results by specifying a page number. Defaults to first page}
@see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: artist-get-events API-KEY ARTIST-NAME

@short{Get a list of upcoming events for this artist. Easily integratable into calendars, using the ical standard.
This service does not require authentication.}
@arg[api-key]{A Last.fm API key}
@arg[artist-name]{The artist name in question} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: artist-get-info API-KEY &key ARTIST-NAME MBID LANG

@short{Get the metadata for an artist on Last.fm. Includes biography. . This service does not require authentication.}
@arg[api-key]{A Last.fm API key}
@arg[artist-name]{The artist name in question}
@arg[mbid]{The musicbrainz id for the artist}
@arg[lang]{The language to return the biography in, expressed as an ISO 639 alpha-2 code}
@see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: artist-get-similar API-KEY ARTIST-NAME &optional LIMIT

@short{Get all the artists similar to this artist. This service does not require authentication.} @arg[api-key]{A Last.fm API key} @arg[artist-name]{The artist name in question} @arg[limit]{Limit the number of similar artists returned} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: artist-get-top-albums API-KEY ARTIST-NAME

@short{Get the top albums for an artist on Last.fm, ordered by popularity. This service does not require authentication.}
@arg[api-key]{A Last.fm API key}
@arg[artist-name]{The artist name in question} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: artist-get-top-fans API-KEY ARTIST-NAME

@short{Get the top fans for an artist on Last.fm, based on listening data. This service does not require authentication.}
@arg[api-key]{A Last.fm API key}
@arg[artist-name]{The artist name in question} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: artist-get-top-tags API-KEY ARTIST-NAME

@short{Get the top tags for an artist on Last.fm, ordered by popularity. This service does not require authentication.}
@arg[api-key]{A Last.fm API key}
@arg[artist-name]{The artist name in question} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: artist-get-top-tracks API-KEY ARTIST-NAME

@short{Get the top tracks by an artist on Last.fm, ordered by popularity This service does not require authentication.}
@arg[api-key]{A Last.fm API key}
@arg[artist-name]{The artist name in question} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: artist-search API-KEY ARTIST-NAME &key LIMIT PAGE

@short{Search for an artist by name. Returns artist matches sorted by relevance.
This service does not require authentication.}
@arg[api-key]{A Last.fm API key}
@arg[artist-name]{The artist name in question}
@arg[limit]{Limit the number of artists returned at one time. Default (maximum) is 30}
@arg[page]{Scan into the results by specifying a page number. Defaults to first page}
@see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: event-get-info API-KEY EVENTID

@short{Get the metadata for an event on Last.fm. Includes attendance and lineup information}
@arg[api_key]{A Last.fm API key}
@arg[eventid]{The numeric Last.fm event id} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: event-get-shouts API-KEY EVENTID

@short{Get shouts for this event} @arg[api_key]{A Last.fm API key} @arg[eventid]{The numeric Last.fm event id} @see-condition{lastfm-request-error} @return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: geo-get-events API-KEY &key LOCATION LAT LONG PAGE DISTANCE

@short{Get all events in a specific location by country or city name.
This service does not require authentication}
@arg[api_key]{A Last.fm API key}
@arg[location]{Specifies a location to retrieve events for (service returns nearby events by default}
@arg[lat]{Specifies a latitude value to retrieve events for (service returns nearby events by default}
@arg[long]{Specifies a longitude value to retrieve events for (service returns nearby events by default)}
@arg[page]{Display more results by pagination}
@arg[distance]{Find events within a specified distance} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: geo-top-artists API-KEY COUNTRY-NAME

@short{Get the most popular artists on Last.fm by country.
This service does not require authentication}
@arg[api_key]{A Last.fm API key}
@arg[country-name]{A country name, as defined by the ISO 3166-1 country names standard}
@see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: geo-top-tracks API-KEY COUNTRY-NAME &optional LOCATION

@short{Get the most popular tracks on Last.fm by country .
This service does not require authentication}
@arg[api_key]{A Last.fm API key}
@arg[country-name]{A country name, as defined by the ISO 3166-1 country names standard}
@arg[location]{A metro name, to fetch the charts for (must be within the country specified)}
@see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: group-get-members API-KEY GROUP

@short{Get a list of members for this group. This service does not require authentication} @arg[api_key]{A Last.fm API key} @arg[group]{The group name to fetch the members of} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: group-get-weekly-album-chart API-KEY GROUP &key FROM TO

@short{Get an album chart for a group, for a given date range. If no date range is supplied, it will return the most recent album chart for this group.} @arg[api_key]{A Last.fm API key}
@arg[group]{The last.fm group name to fetch the charts of}
@arg[from]{The date at which the chart should start from}
@arg[to]{The date at which the chart should end on} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: group-get-weekly-artist-chart API-KEY GROUP &key FROM TO

@short{Get an artist chart for a group, for a given date range. If no date range is supplied, it will return the most recent album chart for this group} @arg[api_key]{A Last.fm API key}
@arg[group]{The last.fm group name to fetch the charts of}
@arg[from]{The date at which the chart should start from}
@arg[to]{The date at which the chart should end on} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: group-get-weekly-chart-list API-KEY GROUP

@short{Get a list of available charts for this group, expressed as date ranges which can be sent to the chart services}
@arg[api_key]{A Last.fm API key}
@arg[group]{The last.fm group name to fetch the charts list for} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: group-get-weekly-track-chart API-KEY GROUP &key FROM TO

@short{Get a track chart for a group, for a given date range. If no date range is supplied, it will return the most recent album chart for this group} @arg[api_key]{A Last.fm API key}
@arg[group]{The last.fm group name to fetch the charts of}
@arg[from]{The date at which the chart should start from}
@arg[to]{The date at which the chart should end on} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: library-get-albums API-KEY USER &key PAGE LIMIT

@short{A paginated list of all the albums in a user’s library, with play counts and tag counts}
@arg[api_key]{A Last.fm API key}
@arg[user]{The user whose library you want to fetch} @arg[limit]{Limit the amount of albums returned}
@arg[page]{The page number you wish to scan to} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: library-get-artists API-KEY USER &key PAGE LIMIT

@short{A paginated list of all the artists in a user’s library, with play counts and tag counts}
@arg[api_key]{A Last.fm API key}
@arg[user]{The user whose library you want to fetch}
@arg[limit]{Limit the amount of artists returned}
@arg[page]{The page number you wish to scan to} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: library-get-tracks API-KEY USER &key PAGE LIMIT

@short{A paginated list of all the tracks in a user’s library, with play counts and tag counts. }
@arg[api_key]{A Last.fm API key}
@arg[user]{The user whose library you want to fetch} @arg[limit]{Limit the amount of tracks returned}
@arg[page]{The page number you wish to scan to} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: tag-get-similar API-KEY TAG

@short{Search for tags similar to this one. Returns tags ranked by similarity, based on listening data}
@arg[api_key]{A Last.fm API key}
@arg[tag]{The tag name in question} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: tag-get-top-albums API-KEY TAG

@short{Get the top albums tagged by this tag, ordered by tag count} @arg[api_key]{A Last.fm API key}
@arg[tag]{The tag name in question} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: tag-get-top-artists API-KEY TAG

@short{Get the top artists tagged by this tag, ordered by tag count} @arg[api_key]{A Last.fm API key}
@arg[tag]{The tag name in question} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: tag-get-top-tags API-KEY

@short{Fetches the top global tags on Last.fm, sorted by popularity (number of times used).}
@arg[api_key]{A Last.fm API key} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: tag-get-top-tracks API-KEY TAG

@short{Get the top tracks tagged by this tag, ordered by tag count} @arg[api_key]{A Last.fm API key}
@arg[tag]{The tag name in question} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: tag-get-weekly-artist-chart API-KEY TAG &key FROM TO LIMIT

@short{Get an artist chart for a tag, for a given date range.
If no date range is supplied, it will return the most recent artist chart for this tag}
@arg[api_key]{A Last.fm API key}
@arg[tag]{The tag name in question}
@arg[from]{The date at which the chart should start from}
@arg[to]{The date at which the chart should end on}
@arg[limit]{The number of chart items to return} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: tag-get-weekly-chart-list API-KEY TAG

@short{Get a list of available charts for this tag, expressed as date ranges which can be sent to the chart services}
@arg[api_key]{A Last.fm API key}
@arg[tag]{The tag name in question} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: tag-search API-KEY TAG &key PAGE LIMIT

@short{Search for a tag by name. Returns matches sorted by relevance} @arg[api_key]{A Last.fm API key}
@arg[tag]{The tag name in question}
@arg[limit]{Limit the number of tags returned at one time} @arg[page]{Scan into the results by specifying a page number} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: tasteometer-compare API-KEY FIRST-TYPE SECOND-TYPE FIRST-VALUE SECOND-VALUE &key LIMIT

@short{Get a Tasteometer score from two inputs, along with a list of shared artists. If the input is a User or a Myspace URL, some additional information is returned.}
@arg[api_key]{A Last.fm API key}
@arg[fisrt-type]{Must be user, artists or myspace}
@arg[second-type]{Must be user, artists or myspace}
@arg[first-value]{Must be : Last.fm username or comma-separated artist names or a MySpace profile URL}
@arg[second-value]{Must be : Last.fm username or comma-separated artist names or a MySpace profile URL}
@arg[limit]{How many shared artists to display} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: track-get-info API-KEY &key ARTIST TRACK MBID

@short{Get the metadata for a track on Last.fm using the artist/track name or a musicbrainz id}
@arg[api-key]{A Last.fm API key}
@arg[artist]{The artist name in question}
@arg[track]{The track name in question}
@arg[mbid]{The musicbrainz id for the track} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: track-get-similar API-KEY &key ARTIST TRACK MBID

@short{Get the similar tracks for this track on Last.fm, based on listening data}
@arg[api-key]{A Last.fm API key}
@arg[artist]{The artist name in question}
@arg[track]{The track name in question}
@arg[mbid]{The musicbrainz id for the track} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: track-get-top-fans API-KEY &key ARTIST TRACK MBID

@short{Get the top fans for this track on Last.fm, based on listening data. Supply either track & artist name or musicbrainz id}
@arg[api-key]{A Last.fm API key}
@arg[artist]{The artist name in question}
@arg[track]{The track name in question}
@arg[mbid]{The musicbrainz id for the track} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: track-get-top-tags API-KEY &key ARTIST TRACK MBID

@short{Get the top tags for this track on Last.fm, ordered by tag count. Supply either track & artist name or mbid}
@arg[api-key]{A Last.fm API key}
@arg[artist]{The artist name in question}
@arg[track]{The track name in question}
@arg[mbid]{The musicbrainz id for the track} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: track-search API-KEY TRACK &key ARTIST PAGE LIMIT

@short{Search for a track by track name. Returns track matches sorted by relevance}
@arg[api-key]{A Last.fm API key}
@arg[track]{The track name in question}
@arg[limit]{The number of tracks returned at one time} @arg[page]{Scan into the results by specifying a page number} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: user-get-events API-KEY USER

@short{Get a list of upcoming events that this user is attending. Easily integratable into calendars, using the ical standard. This service does not require authentication}
@arg[api_key]{A Last.fm API key}
@arg[user]{The user to fetch the events for} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: user-get-friends API-KEY USER &key LIMIT PAGE RECENTTRACKS

@short{Get a list of the user’s friends on Last.fm
This service does not require authentication}
@arg[api_key]{A Last.fm API key}
@arg[user]{The last.fm username to fetch the friends of}
@arg[limit]{An integer used to limit the number of friends returned} @arg[page]{An integer representing the page number to fetch. Defaults to first page} @arg[recenttracks]{Whether or not to include information about friends’ recent listening in the response}
@see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: user-get-loved-tracks API-KEY USER &key LIMIT PAGE

@short{Get the last 50 tracks loved by a user.
This service does not require authentication}
@arg[api_key]{A Last.fm API key}
@arg[user]{The user name to fetch the loved tracks for}
@arg[limit]{An integer representing the number of results to fetch per page. Defaults to 50} @arg[page]{An integer representing the page number to fetch. Defaults to first page} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: user-get-neighbours API-KEY USER &key LIMIT

@short{Get a list of a user’s neighbours on Last.fm
This service does not require authentication}
@arg[api_key]{A Last.fm API key}
@arg[user]{The last.fm username to fetch the neighbours of} @arg[limit]{An integer used to limit the number of neighbours returned} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: user-get-recent-tracks API-KEY USER &key LIMIT

@short{Get a list of the recent tracks listened to by this user. Indicates now playing track if the user is currently listening}
@arg[api_key]{A Last.fm API key}
@arg[user]{The user name to fetch the recent tracks of}
@arg[limit]{An integer used to limit the number of tracks returned} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: user-get-shouts API-KEY USER

@short{Get shouts for this user} @arg[api_key]{A Last.fm API key} @arg[user]{The user name to fetch shouts for} @see-condition{lastfm-request-error} @return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: user-get-top-albums API-KEY USER &key PERIOD LIMIT PAGE

@short{Get the top albums listened to by a user. You can stipulate a time period. Sends the overall chart by default}
@arg[api_key]{A Last.fm API key}
@arg[user]{The user name to fetch top albums for}
@arg[period]{overall | 3month | 6month | 12month - The time period over which to retrieve top albums for.}
@arg[limit]{The number of results to fetch per page. Defaults to 50} @arg[page]{The page number to fetch. Defaults to first page} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: user-get-top-artists API-KEY USER &key PERIOD LIMIT PAGE

@short{Get the top artists listened to by a user. You can stipulate a time period. Sends the overall chart by default.}
@arg[api_key]{A Last.fm API key}
@arg[user]{The user name to fetch top artists for}
@arg[period]{overall | 3month | 6month | 12month - The time period over which to retrieve top albums for.}
@arg[limit]{The number of results to fetch per page. Defaults to 50} @arg[page]{The page number to fetch. Defaults to first page} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: user-get-top-tags API-KEY USER &key LIMIT

@short{Get the top tags used by this user} @arg[api_key]{A Last.fm API key} @arg[user]{The user name} @arg[limit]{The number of tags returned} @see-condition{lastfm-request-error} @return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: user-get-top-tracks API-KEY USER &key PERIOD LIMIT PAGE

@short{Get the top tracks listened to by a user. You can stipulate a time period. Sends the overall chart by default. }
@arg[api_key]{A Last.fm API key}
@arg[user]{The user name to fetch top tracks for}
@arg[period]{overall | 3month | 6month | 12month - The time period over which to retrieve top tracks for.}
@arg[limit]{The number of results to fetch per page. Defaults to 50} @arg[page]{The page number to fetch. Defaults to first page} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: user-get-weekly-album-chart API-KEY USER &key FROM TO

@short{Get an album chart for a user profile, for a given date range.
If no date range is supplied, it will return the most recent album chart for this user.}
@arg[api_key]{A Last.fm API key}
@arg[user]{The last.fm username to fetch the charts of}
@arg[from]{The date at which the chart should start from}
@arg[to]{The date at which the chart should end on} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: user-get-weekly-artist-chart API-KEY USER &key FROM TO

@short{Get an artist chart for a user profile, for a given date range.
If no date range is supplied, it will return the most recent artist chart for this user.}
@arg[api_key]{A Last.fm API key}
@arg[user]{The last.fm username to fetch the charts of}
@arg[from]{The date at which the chart should start from}
@arg[to]{The date at which the chart should end on} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: user-get-weekly-chart-list API-KEY USER

@short{Get a list of available charts for this user, expressed as date ranges which can be sent to the chart services}
@arg[api_key]{A Last.fm API key}
@arg[user]{The last.fm username to fetch the charts list for} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)

Function: user-get-weekly-track-chart API-KEY USER &key FROM TO

@short{Get a track chart for a user profile, for a given date range. If no date range is supplied, it will return the most recent track chart for this user}
@arg[api_key]{A Last.fm API key}
@arg[user]{The last.fm username to fetch the charts of} @arg[from]{The date at which the chart should start from} @arg[to]{The date at which the chart should end on} @see-condition{lastfm-request-error}
@return{An XML stream}

Package

cl-lastfm

Source

lastfm.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.3 Generic functions

Generic Function: error-message-of CONDITION
Package

cl-lastfm

Methods
Method: error-message-of (CONDITION lastfm-error)
Source

conditions.lisp (file)

Generic Function: request-error-code-of CONDITION
Package

cl-lastfm

Methods
Method: request-error-code-of (CONDITION lastfm-request-error)
Source

conditions.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

6.1.4 Conditions

Condition: lastfm-error ()

Main Lastfm error.

Package

cl-lastfm

Source

conditions.lisp (file)

Direct superclasses

simple-error (condition)

Direct subclasses
Direct methods

error-message-of (method)

Direct slots
Slot: message

Explanation message.

Initargs

:message

Readers

error-message-of (generic function)

Condition: lastfm-protocol-error ()

Lastfm protocol error.

Package

cl-lastfm

Source

conditions.lisp (file)

Direct superclasses

lastfm-error (condition)

Condition: lastfm-request-error ()

Condition raised when an invalide request to the
Lastfm web services is performed.
Available codes are :
@pre{
* 2 : Invalid service -This service does not exist
* 3 : Invalid Method - No method with that name in this package
* 4 : Authentication Failed - You do not have permissions to access the service * 5 : Invalid format - This service doesn’t exist in that format
* 6 : Invalid parameters - Your request is missing a required parameter
* 7 : Invalid resource specified
* 9 : Invalid session key - Please re-authenticate
* 10 : Invalid API key - You must be granted a valid key by last.fm
* 11 : Service Offline - This service is temporarily offline. Try again later.
* 12 : Subscribers Only - This service is only available to paid last.fm subscribers }

Package

cl-lastfm

Source

conditions.lisp (file)

Direct superclasses

lastfm-error (condition)

Direct methods

request-error-code-of (method)

Direct slots
Slot: code

The error code.

Initargs

:code

Readers

request-error-code-of (generic function)


Previous: , Up: Definitions   [Contents][Index]

6.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.1 Constants

Constant: +album-get-info+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +album-search+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +artist-get-events+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +artist-get-info+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +artist-get-similar+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +artist-get-top-albums+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +artist-get-top-fans+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +artist-get-top-tags+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +artist-get-top-tracks+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +artist-search+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +event-get-info+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +event-get-shouts+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +geo-get-events+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +geo-top-artists+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +geo-top-tracks+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +group-get-members+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +group-get-weekly-album-chart+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +group-get-weekly-artist-chart+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +group-get-weekly-chart-list+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +group-get-weekly-track-chart+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +last-fm-ws+

The LastFM web service.

Package

cl-lastfm

Source

specials.lisp (file)

Constant: +library-get-albums+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +library-get-artists+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +library-get-tracks+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +tag-get-similar+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +tag-get-top-albums+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +tag-get-top-artists+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +tag-get-top-tags+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +tag-get-top-tracks+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +tag-get-weekly-artist-chart+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +tag-get-weekly-chart-list+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +tag-search+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +tasteometer-compare+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +track-get-info+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +track-get-similar+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +track-get-top-fans+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +track-get-top-tags+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +track-search+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +user-get-events
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +user-get-friends+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +user-get-loved-tracks+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +user-get-neighbours+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +user-get-recent-tracks+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +user-get-shouts+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +user-get-top-albums+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +user-get-top-artists+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +user-get-top-tags+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +user-get-top-tracks+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +user-get-weekly-album-chart+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +user-get-weekly-artist-chart+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +user-get-weekly-chart-list+
Package

cl-lastfm

Source

specials.lisp (file)

Constant: +user-get-weekly-track-chart+
Package

cl-lastfm

Source

specials.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.2 Special variables

Special Variable: *api-key*
Package

cl-lastfm

Source

specials.lisp (file)

Special Variable: *api-secret-key*
Package

cl-lastfm

Source

specials.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.3 Macros

Macro: def-lastfm-uri NAME URI
Package

cl-lastfm

Source

specials.lisp (file)

Macro: with-lastfm-stream STREAM &body BODY

Macro which creates an HTTP url, add parameters executing body, and performs the HTTP request defined by uri.

Package

cl-lastfm

Source

lastfm.lisp (file)


Previous: , Up: Internal definitions   [Contents][Index]

6.2.4 Functions

Function: extract-lastfm-xml-error XML

Extract a LastFM error from a ‘XML’ message. Returns an error code and an error message.

Package

cl-lastfm

Source

tools.lisp (file)

Function: get-current-date ()

Get current date in YYYY-MM-DD hh:mm:ss format.

Package

cl-lastfm

Source

tools.lisp (file)

Function: get-date-formated CONTROL-STRING

Get current date in CONTROL-STRING format.

Package

cl-lastfm

Source

tools.lisp (file)

Function: get-timestamp ()

Get current date in YYYYMMDDHHMMSS format.

Package

cl-lastfm

Source

tools.lisp (file)

Function: perform-lastfm-query QUERY &key PARAMETERS METHOD

Retreive informations from LastFM Web Service.
‘QUERY’ is the HTTP request.
‘PARAMETERS’ is a list of assoc list which specify HTTP parameters. ‘METHOD’ is the HTTP method used to perform the HTTP call.

Package

cl-lastfm

Source

tools.lisp (file)

Function: unix-timestamp ()

Get the Unix timestamp : seconds since Jan 01 1970.

Package

cl-lastfm

Source

tools.lisp (file)

Function: url-encode-utf8 SEQUENCE

URL encode in UTF-8 the sequence.

Package

cl-lastfm

Source

tools.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   C   F   L   M  
Index Entry  Section

C
cl-lastfm.asd: The cl-lastfm<dot>asd file
cl-lastfm/src: The cl-lastfm/src module
cl-lastfm/src/conditions.lisp: The cl-lastfm/src/conditions<dot>lisp file
cl-lastfm/src/lastfm.lisp: The cl-lastfm/src/lastfm<dot>lisp file
cl-lastfm/src/package.lisp: The cl-lastfm/src/package<dot>lisp file
cl-lastfm/src/specials.lisp: The cl-lastfm/src/specials<dot>lisp file
cl-lastfm/src/tools.lisp: The cl-lastfm/src/tools<dot>lisp file

F
File, Lisp, cl-lastfm.asd: The cl-lastfm<dot>asd file
File, Lisp, cl-lastfm/src/conditions.lisp: The cl-lastfm/src/conditions<dot>lisp file
File, Lisp, cl-lastfm/src/lastfm.lisp: The cl-lastfm/src/lastfm<dot>lisp file
File, Lisp, cl-lastfm/src/package.lisp: The cl-lastfm/src/package<dot>lisp file
File, Lisp, cl-lastfm/src/specials.lisp: The cl-lastfm/src/specials<dot>lisp file
File, Lisp, cl-lastfm/src/tools.lisp: The cl-lastfm/src/tools<dot>lisp file

L
Lisp File, cl-lastfm.asd: The cl-lastfm<dot>asd file
Lisp File, cl-lastfm/src/conditions.lisp: The cl-lastfm/src/conditions<dot>lisp file
Lisp File, cl-lastfm/src/lastfm.lisp: The cl-lastfm/src/lastfm<dot>lisp file
Lisp File, cl-lastfm/src/package.lisp: The cl-lastfm/src/package<dot>lisp file
Lisp File, cl-lastfm/src/specials.lisp: The cl-lastfm/src/specials<dot>lisp file
Lisp File, cl-lastfm/src/tools.lisp: The cl-lastfm/src/tools<dot>lisp file

M
Module, cl-lastfm/src: The cl-lastfm/src module

Jump to:   C   F   L   M  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   A   D   E   F   G   L   M   P   R   T   U   W  
Index Entry  Section

A
album-get-info: Exported functions
album-search: Exported functions
artist-get-events: Exported functions
artist-get-info: Exported functions
artist-get-similar: Exported functions
artist-get-top-albums: Exported functions
artist-get-top-fans: Exported functions
artist-get-top-tags: Exported functions
artist-get-top-tracks: Exported functions
artist-search: Exported functions

D
def-lastfm-uri: Internal macros

E
error-message-of: Exported generic functions
error-message-of: Exported generic functions
event-get-info: Exported functions
event-get-shouts: Exported functions
extract-lastfm-xml-error: Internal functions

F
Function, album-get-info: Exported functions
Function, album-search: Exported functions
Function, artist-get-events: Exported functions
Function, artist-get-info: Exported functions
Function, artist-get-similar: Exported functions
Function, artist-get-top-albums: Exported functions
Function, artist-get-top-fans: Exported functions
Function, artist-get-top-tags: Exported functions
Function, artist-get-top-tracks: Exported functions
Function, artist-search: Exported functions
Function, event-get-info: Exported functions
Function, event-get-shouts: Exported functions
Function, extract-lastfm-xml-error: Internal functions
Function, geo-get-events: Exported functions
Function, geo-top-artists: Exported functions
Function, geo-top-tracks: Exported functions
Function, get-current-date: Internal functions
Function, get-date-formated: Internal functions
Function, get-timestamp: Internal functions
Function, group-get-members: Exported functions
Function, group-get-weekly-album-chart: Exported functions
Function, group-get-weekly-artist-chart: Exported functions
Function, group-get-weekly-chart-list: Exported functions
Function, group-get-weekly-track-chart: Exported functions
Function, library-get-albums: Exported functions
Function, library-get-artists: Exported functions
Function, library-get-tracks: Exported functions
Function, perform-lastfm-query: Internal functions
Function, tag-get-similar: Exported functions
Function, tag-get-top-albums: Exported functions
Function, tag-get-top-artists: Exported functions
Function, tag-get-top-tags: Exported functions
Function, tag-get-top-tracks: Exported functions
Function, tag-get-weekly-artist-chart: Exported functions
Function, tag-get-weekly-chart-list: Exported functions
Function, tag-search: Exported functions
Function, tasteometer-compare: Exported functions
Function, track-get-info: Exported functions
Function, track-get-similar: Exported functions
Function, track-get-top-fans: Exported functions
Function, track-get-top-tags: Exported functions
Function, track-search: Exported functions
Function, unix-timestamp: Internal functions
Function, url-encode-utf8: Internal functions
Function, user-get-events: Exported functions
Function, user-get-friends: Exported functions
Function, user-get-loved-tracks: Exported functions
Function, user-get-neighbours: Exported functions
Function, user-get-recent-tracks: Exported functions
Function, user-get-shouts: Exported functions
Function, user-get-top-albums: Exported functions
Function, user-get-top-artists: Exported functions
Function, user-get-top-tags: Exported functions
Function, user-get-top-tracks: Exported functions
Function, user-get-weekly-album-chart: Exported functions
Function, user-get-weekly-artist-chart: Exported functions
Function, user-get-weekly-chart-list: Exported functions
Function, user-get-weekly-track-chart: Exported functions

G
Generic Function, error-message-of: Exported generic functions
Generic Function, request-error-code-of: Exported generic functions
geo-get-events: Exported functions
geo-top-artists: Exported functions
geo-top-tracks: Exported functions
get-current-date: Internal functions
get-date-formated: Internal functions
get-timestamp: Internal functions
group-get-members: Exported functions
group-get-weekly-album-chart: Exported functions
group-get-weekly-artist-chart: Exported functions
group-get-weekly-chart-list: Exported functions
group-get-weekly-track-chart: Exported functions

L
library-get-albums: Exported functions
library-get-artists: Exported functions
library-get-tracks: Exported functions

M
Macro, def-lastfm-uri: Internal macros
Macro, with-lastfm-stream: Internal macros
Method, error-message-of: Exported generic functions
Method, request-error-code-of: Exported generic functions

P
perform-lastfm-query: Internal functions

R
request-error-code-of: Exported generic functions
request-error-code-of: Exported generic functions

T
tag-get-similar: Exported functions
tag-get-top-albums: Exported functions
tag-get-top-artists: Exported functions
tag-get-top-tags: Exported functions
tag-get-top-tracks: Exported functions
tag-get-weekly-artist-chart: Exported functions
tag-get-weekly-chart-list: Exported functions
tag-search: Exported functions
tasteometer-compare: Exported functions
track-get-info: Exported functions
track-get-similar: Exported functions
track-get-top-fans: Exported functions
track-get-top-tags: Exported functions
track-search: Exported functions

U
unix-timestamp: Internal functions
url-encode-utf8: Internal functions
user-get-events: Exported functions
user-get-friends: Exported functions
user-get-loved-tracks: Exported functions
user-get-neighbours: Exported functions
user-get-recent-tracks: Exported functions
user-get-shouts: Exported functions
user-get-top-albums: Exported functions
user-get-top-artists: Exported functions
user-get-top-tags: Exported functions
user-get-top-tracks: Exported functions
user-get-weekly-album-chart: Exported functions
user-get-weekly-artist-chart: Exported functions
user-get-weekly-chart-list: Exported functions
user-get-weekly-track-chart: Exported functions

W
with-lastfm-stream: Internal macros

Jump to:   A   D   E   F   G   L   M   P   R   T   U   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *   +  
C   M   S  
Index Entry  Section

*
*api-key*: Internal special variables
*api-secret-key*: Internal special variables
*debug*: Exported special variables

+
+album-get-info+: Internal constants
+album-search+: Internal constants
+artist-get-events+: Internal constants
+artist-get-info+: Internal constants
+artist-get-similar+: Internal constants
+artist-get-top-albums+: Internal constants
+artist-get-top-fans+: Internal constants
+artist-get-top-tags+: Internal constants
+artist-get-top-tracks+: Internal constants
+artist-search+: Internal constants
+event-get-info+: Internal constants
+event-get-shouts+: Internal constants
+geo-get-events+: Internal constants
+geo-top-artists+: Internal constants
+geo-top-tracks+: Internal constants
+group-get-members+: Internal constants
+group-get-weekly-album-chart+: Internal constants
+group-get-weekly-artist-chart+: Internal constants
+group-get-weekly-chart-list+: Internal constants
+group-get-weekly-track-chart+: Internal constants
+last-fm-ws+: Internal constants
+library-get-albums+: Internal constants
+library-get-artists+: Internal constants
+library-get-tracks+: Internal constants
+tag-get-similar+: Internal constants
+tag-get-top-albums+: Internal constants
+tag-get-top-artists+: Internal constants
+tag-get-top-tags+: Internal constants
+tag-get-top-tracks+: Internal constants
+tag-get-weekly-artist-chart+: Internal constants
+tag-get-weekly-chart-list+: Internal constants
+tag-search+: Internal constants
+tasteometer-compare+: Internal constants
+track-get-info+: Internal constants
+track-get-similar+: Internal constants
+track-get-top-fans+: Internal constants
+track-get-top-tags+: Internal constants
+track-search+: Internal constants
+user-get-events: Internal constants
+user-get-friends+: Internal constants
+user-get-loved-tracks+: Internal constants
+user-get-neighbours+: Internal constants
+user-get-recent-tracks+: Internal constants
+user-get-shouts+: Internal constants
+user-get-top-albums+: Internal constants
+user-get-top-artists+: Internal constants
+user-get-top-tags+: Internal constants
+user-get-top-tracks+: Internal constants
+user-get-weekly-album-chart+: Internal constants
+user-get-weekly-artist-chart+: Internal constants
+user-get-weekly-chart-list+: Internal constants
+user-get-weekly-track-chart+: Internal constants

C
code: Exported conditions
Constant, +album-get-info+: Internal constants
Constant, +album-search+: Internal constants
Constant, +artist-get-events+: Internal constants
Constant, +artist-get-info+: Internal constants
Constant, +artist-get-similar+: Internal constants
Constant, +artist-get-top-albums+: Internal constants
Constant, +artist-get-top-fans+: Internal constants
Constant, +artist-get-top-tags+: Internal constants
Constant, +artist-get-top-tracks+: Internal constants
Constant, +artist-search+: Internal constants
Constant, +event-get-info+: Internal constants
Constant, +event-get-shouts+: Internal constants
Constant, +geo-get-events+: Internal constants
Constant, +geo-top-artists+: Internal constants
Constant, +geo-top-tracks+: Internal constants
Constant, +group-get-members+: Internal constants
Constant, +group-get-weekly-album-chart+: Internal constants
Constant, +group-get-weekly-artist-chart+: Internal constants
Constant, +group-get-weekly-chart-list+: Internal constants
Constant, +group-get-weekly-track-chart+: Internal constants
Constant, +last-fm-ws+: Internal constants
Constant, +library-get-albums+: Internal constants
Constant, +library-get-artists+: Internal constants
Constant, +library-get-tracks+: Internal constants
Constant, +tag-get-similar+: Internal constants
Constant, +tag-get-top-albums+: Internal constants
Constant, +tag-get-top-artists+: Internal constants
Constant, +tag-get-top-tags+: Internal constants
Constant, +tag-get-top-tracks+: Internal constants
Constant, +tag-get-weekly-artist-chart+: Internal constants
Constant, +tag-get-weekly-chart-list+: Internal constants
Constant, +tag-search+: Internal constants
Constant, +tasteometer-compare+: Internal constants
Constant, +track-get-info+: Internal constants
Constant, +track-get-similar+: Internal constants
Constant, +track-get-top-fans+: Internal constants
Constant, +track-get-top-tags+: Internal constants
Constant, +track-search+: Internal constants
Constant, +user-get-events: Internal constants
Constant, +user-get-friends+: Internal constants
Constant, +user-get-loved-tracks+: Internal constants
Constant, +user-get-neighbours+: Internal constants
Constant, +user-get-recent-tracks+: Internal constants
Constant, +user-get-shouts+: Internal constants
Constant, +user-get-top-albums+: Internal constants
Constant, +user-get-top-artists+: Internal constants
Constant, +user-get-top-tags+: Internal constants
Constant, +user-get-top-tracks+: Internal constants
Constant, +user-get-weekly-album-chart+: Internal constants
Constant, +user-get-weekly-artist-chart+: Internal constants
Constant, +user-get-weekly-chart-list+: Internal constants
Constant, +user-get-weekly-track-chart+: Internal constants

M
message: Exported conditions

S
Slot, code: Exported conditions
Slot, message: Exported conditions
Special Variable, *api-key*: Internal special variables
Special Variable, *api-secret-key*: Internal special variables
Special Variable, *debug*: Exported special variables

Jump to:   *   +  
C   M   S  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   C   L   P   S  
Index Entry  Section

C
cl-lastfm: The cl-lastfm system
cl-lastfm: The cl-lastfm package
Condition, lastfm-error: Exported conditions
Condition, lastfm-protocol-error: Exported conditions
Condition, lastfm-request-error: Exported conditions

L
lastfm-error: Exported conditions
lastfm-protocol-error: Exported conditions
lastfm-request-error: Exported conditions

P
Package, cl-lastfm: The cl-lastfm package

S
System, cl-lastfm: The cl-lastfm system

Jump to:   C   L   P   S