Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

lastfm

bởi gumadeiras

Media & Streaming
2.2kLượt tải do clawskills.sh công bố
2Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Access Last.fm listening history, music stats.

Mô tả

Kỹ năng này làm gì

Connects to the Last.fm API to query listening history, music stats, and discovery data. Supports recent tracks, top artists/albums/tracks by time period, loved tracks, similar artist/track lookups, global charts, and tag-based browsing.

Exposes the full Last.fm API surface in one skill, covering both personal listening data and global discovery endpoints without needing separate integrations.

Khi nào nên dùng

  • Check what song is currently playing on your Last.fm account
  • Get your top artists or tracks for the past week or month
  • Find artists similar to one you already know
  • Browse top albums for a specific genre or tag
  • Pull your all-time scrobble stats and listening totals

Quy trình ví dụ

ĐẦU VÀO

User asks: What are my top 5 artists this month?

AGENT
  1. 1

    Read LASTFM_USER and LASTFM_API_KEY from environment

  2. 2

    Send GET request to user.gettopartists with period=1month and limit=5

  3. 3

    Parse the topartists.artist array from the JSON response

  4. 4

    Format each entry as artist name with play count

ĐẦU RA

A ranked list of the user's top 5 artists for the current month with play counts

Yêu cầu

  • LASTFM_API_KEY environment variable (obtain at last.fm/api/account/create)
  • LASTFM_USER environment variable (your Last.fm username)

Cài đặt

clawhub install gumadeiras/lastfm

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết