naftiko: 1.0.0-alpha2 info: label: Last.fm API — Library description: 'Last.fm API — Library package. 1 operation returning the paginated set of artists in a user library with playcounts and tag counts.' tags: - Last.fm - Library - Music created: '2026-05-29' modified: '2026-05-29' binds: - namespace: env keys: LASTFM_API_KEY: LASTFM_API_KEY capability: consumes: - type: http namespace: lastfm-library baseUri: https://ws.audioscrobbler.com/2.0 description: Last.fm library capability for user-collected artist data. resources: - name: library-getartists path: / operations: - name: libraryGetArtists method: GET description: Get a user's library artists with play and tag counts. outputRawFormat: json inputParameters: - { name: method, in: query, type: string, value: library.getArtists } - { name: api_key, in: query, type: string } - { name: format, in: query, type: string, value: json } - { name: user, in: query, type: string } - { name: limit, in: query, type: integer } outputParameters: - { name: result, type: object, value: $.artists }