Questions tagged [last.fm]

Last.fm is a music recommendation service.

The Last.fm API allows anyone to build their own programs using Last.fm data, whether they're on the web, the desktop or mobile devices. Find out more about how you can start exploring the social music playground on the link below.

Links

320 questions
0
votes
0 answers

Need some help to retrieve album cover with Last F.M

The dependencies for the last.fm API don't work. I need some help to retrieve album cover with Last FM. I've this code in Main Activity TextView metaTitle = findViewById(R.id.meta_title); String[] parts =…
0
votes
1 answer

Why is my CURL command using the last.fm api not working?

I just started learning bash and I wanted to implement the last.fm API using the curl command. I tried executing following command: curl http://ws.audioscrobbler.com/2.0/?method=tag.gettopalbums&tag=disco&api_key=(my API KEY)&format=json but for…
Odin
  • 1
0
votes
1 answer

last.fm - get amount of artist scrobbles from any profile

I'm aware this isn't a direct code-relevant question, so if this question does not belong here, please accept my apology and point me in the diretion where it's more fitting. I'm having a project in mind where you type in a last.fm profile name + an…
theloneswiftman
  • 188
  • 1
  • 4
  • 17
0
votes
0 answers

Save cover image from last.fm API to a png file with nodejs

I'm trying to download the cover image from the trackSearch method of the last.fm API. Here's what I've done : lastfm.trackSearch({ q: song , limit : 1}, (err, data) => { if (err) console.error(err) else console.log(data) …
Herbiv
  • 1
  • 2
0
votes
2 answers

Music tag finder API .NET library

I'm trying to build an application that can be used to automatically get music tag information from the web and rename my music library. I have been searching on google for any API available to help me out. So far, it seems like Discogs, Freedb,…
Jonh Smith
  • 121
  • 1
  • 4
0
votes
1 answer

"FAILED Incorrect protocol version (missing clientID/version/username)", LastFM API

I'm trying to add scrobbles to my LastFM account by using their API. I managed to do the Auth and GET methods, but when trying to use the "track.scrobble" method by using this setup (The words in the curly Brackets get obviously replaced before…
LyffLyff
  • 5
  • 2
0
votes
1 answer

Сan’t send Post-request to last.fm

I'm trying to send a request like in the documentation, but it returns me a response: Invalid parameters - Your request is missing a required parameter async function unlove_track(track_name,artist) { let body = { track:…
Foxyboy
  • 1
  • 1
0
votes
3 answers

How can I get the currently playing song from the audioscrobbler api?

I am using the zend framework to get info from the audioscrobbler api. The response format is like this: Aretha Franklin
Sheehan Alam
  • 60,111
  • 124
  • 355
  • 556
0
votes
1 answer

Getting similar songs using Last.fm API

I'm trying to use Last.fm's API to find similar songs given a song name. Last.fm has a feature that can do this called track.getSimilar, but both "track" and "artist" are required parameters. However, because of the way this works, I can't figure…
Tyson
  • 3
  • 2
0
votes
2 answers

Get json object with jquery without using the $.each

I'm using the recenttracks api from lastFm: www.last.fm/api/show?service=278 I'm fetching the json format with…
Mellroy
  • 17
  • 3
0
votes
1 answer

Distinguish found from not found items

i am currently working on getting some track infos from last fm by using their api. I am using the request library by requesting track infos based on artist and track name, i specify the user to know the times they listened to it. I call it like the…
user9114703
0
votes
0 answers

return response from a module from a call

So i have a function in a module, This is the Index file const track = require('./components/trackPlays') const Plays = track.Plays(username, expT ,expA ) this is the module file. const axios = require('axios'); const keys =…
Jan
  • 29
  • 7
0
votes
1 answer

Get Image out of a json response

I'm making a discord.js bot that communicates with the last.fm API. I Want my bot to display the image from the request in an embed but it only gives me the result in different sizes.Everything else works perfectly fine i just need help with the…
Jan
  • 29
  • 7
0
votes
2 answers

store a username in a quick.db database

I want to store a word that was provided as an arg after a command from a user in a quick.db database. I'm pretty new to quick.db and it's my first time using it. Can someone help? Thank you sm!
Jan
  • 29
  • 7
0
votes
1 answer

Last.fm Top Artists Api

@commands.command() async def np(self,ctx): async with aiohttp.ClientSession() as session: params= {"api_key" : "censored", "user" : "ssj4abd", "period" : "overall", "limit" : 10, …
SSJ4 ABD
  • 15
  • 6