Skill: keyfrog-21k/last-fm (version 1.0.0)

```markdown # OpenClaw-Last.fm A openclaw Skill with Last.fm API ## Requirements - Last.fm API Key ([Get in website](https://www.last.fm/api)) ## How to request API - Root URL: `https://ws.audioscrobbler.com/2.0/` (GET/POST) ### Required parameters - `api_key`: API Key - `method`: Method name - `format`: XML (default) or JSON --- ## Methods Below are commonly used Last.fm methods grouped by resource type. All requests use the same base URL and append query parameters. --- ### Artist #### `artist.getInfo` Get detailed information about a specific artist (bio, images, stats, tags, similar artists, etc.). **Example request (JSON):** ```http GET https://ws.audioscrobbler.com/2.0/?method=artist.getinfo&artist=Radiohead&[REDACTED_SECRET] ``` #### `artist.getTopTracks` Get the top tracks for an artist, ordered by playcount. **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=artist.gettoptracks&artist=Radiohead&[REDACTED_SECRET] ``` #### `artist.getTopAlbums` Get the top albums for an artist, ordered by playcount. **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=artist.gettopalbums&artist=Radiohead&[REDACTED_SECRET] ``` #### `artist.search` Search for artists by name and get a list of matching artists. **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=artist.search&artist=Radiohead&[REDACTED_SECRET] ``` --- ### Album #### `album.getInfo` Get album metadata (tracks, tags, playcount, cover art, etc.) for a given artist and album. **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=album.getinfo&artist=Radiohead&album=OK+Computer&[REDACTED_SECRET] ``` #### `album.getTopTags` Get the most popular tags applied to a specific album. **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=album.gettoptags&artist=Radiohead&album=OK+Computer&[REDACTED_SECRET] ``` #### `album.search` Search for albums by name and get possible matches. **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=album.search&album=OK+Computer&[REDACTED_SECRET] ``` --- ### Track #### `track.getInfo` Get detailed metadata for a track, including album, duration, listeners, playcount, and wiki (if available). **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=track.getinfo&artist=Radiohead&track=Karma+Police&[REDACTED_SECRET] ``` #### `track.getTopTags` Get the most popular tags for a given track. **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=track.gettoptags&artist=Radiohead&track=Karma+Police&[REDACTED_SECRET] ``` #### `track.search` Search for tracks by name (and optionally by artist) and get a list of matches. **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=track.search&track=Karma+Police&[REDACTED_SECRET] ``` --- ### User #### `user.getInfo` Get profile information about a user (playcount, country, age (if public), images, etc.). **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=user.getinfo&user=someusername&[REDACTED_SECRET] ``` #### `user.getRecentTracks` Get the list of recently scrobbled tracks by a user, including timestamps and “now playing” status. **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=someusername&limit=20&[REDACTED_SECRET] ``` #### `user.getTopArtists` Get a user’s top artists over a specific period (overall, 7day, 1month, 3month, 6month, 12month). **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=user.gettopartists&user=someusername&period=1month&limit=20&[REDACTED_SECRET] ``` #### `user.getTopTracks` Get a user’s top tracks over a selected period. **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=user.gettoptracks&user=someusername&period=3month&limit=20&[REDACTED_SECRET] ``` --- ### Library #### `library.getArtists` Get a paginated list of all artists in a user’s library with play counts and tag counts. **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=library.getartists&user=someusername&limit=10&page=1&[REDACTED_SECRET] ``` #### `library.getAlbums` Get albums from a user’s library, optionally filtered by artist. **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=library.getalbums&user=someusername&limit=10&page=1&[REDACTED_SECRET] ``` #### `library.getTracks` Get tracks from a user’s library with their play counts. **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=library.gettracks&user=someusername&limit=10&page=1&[REDACTED_SECRET] ``` --- ### Chart #### `chart.getTopArtists` Get the global top artists chart on Last.fm. **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=chart.gettopartists&[REDACTED_SECRET] ``` #### `chart.getTopTracks` Get the global top tracks chart. **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=chart.gettoptracks&[REDACTED_SECRET] ``` #### `chart.getTopTags` Get the global top tags chart. **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=chart.gettoptags&[REDACTED_SECRET] ``` --- ### Tag #### `tag.getInfo` Get metadata for a tag (description, reach, total uses, etc.). **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=tag.getinfo&tag=k-pop&[REDACTED_SECRET] ``` #### `tag.getTopArtists` Get top artists associated with a specific tag. **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=tag.gettopartists&tag=k-pop&[REDACTED_SECRET] ``` #### `tag.getTopTracks` Get top tracks associated with a tag. **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=tag.gettoptracks&tag=k-pop&[REDACTED_SECRET] ``` #### `tag.getTopAlbums` Get top albums associated with a tag. **Example request:** ```http GET https://ws.audioscrobbler.com/2.0/?method=tag.gettopalbums&tag=k-pop&[REDACTED_SECRET] ``` ---


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: clean (LOW)