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
2 answers

PHP and Last.fm API

I have a JSON structure such as http://ws.audioscrobbler.com/2.0/?method=artist.getinfo&artist=Cher&api_key=XXXX&format=json and I'd like to pick out various bits of information such as similar artists (names and images), tags, the extralarge image,…
pee2pee
  • 3,619
  • 7
  • 52
  • 133
0
votes
1 answer

Extracting user playcount from Last.fm API using JSON

In a nutshell, I'd like to display the Last.fm user playcount figure on my site (see 'playcount' on http://www.last.fm/api/show/user.getInfo). I've tried the following, but confess I have no idea if I'm on the right lines…
barmcake
  • 3
  • 3
0
votes
1 answer

How to install lastfm plugin for c# in .net framework

still newbie on C#. i never installed a plugin, on my .net framework but i would like to build an application communicating with lastfm webservices. so i went in the api lastfm page and i downloaded the lastfm c# plugin here. now i have one zip with…
axel
  • 3,778
  • 4
  • 45
  • 72
0
votes
1 answer

Is it possible to write an applescript so that when I close one program it also closes another?

The example I can think of that is most relevant to me is to be able to close the last.fm app when I close iTunes. I quite often forget to close last.fm and I find it rather annoying. I'm sure there are other uses...
John E
  • 186
  • 1
  • 2
  • 9
0
votes
1 answer

last.fm api - random / shuffle foreach loop

I am currently working with the lat.fm api to develop an app. I have a function which runs to pull in the weekly track listing from a last.fm group. The aim is to pull in the album artwork and to make a "gridview" template. The below code does…
danyo
  • 5,686
  • 20
  • 59
  • 119
0
votes
1 answer

Getting current Node Value with XPath in Java

I'm building an application in Java and I have some problems with getting some values The idea is that I have an XML document in the cloud (in this case Last.fm API), and I want to retrieve a value of a node, wich have an attribute. This value is a…
DaniPilot
  • 124
  • 1
  • 2
  • 14
0
votes
1 answer

Decoding JSON input in PHP

MultiformeIngegno
  • 6,959
  • 15
  • 60
  • 119
0
votes
1 answer

How to retrieve multiple JSON objects with a for loop in javascript

I've been playing around with the Last.fm API and JSON and I've been trying to retrieve a user's top artists by month for the past 12 months. I tried to set up a for loop to go through each month and then pull the relevant JSON data corresponding to…
Dennis
  • 233
  • 2
  • 12
0
votes
1 answer

Set input values dynamically

I'm new to javascript, I'm working on a project that will using and enjoying the API of Last.fm. But my question is the following: I will make 2 fields: First: Band name Second: For fans of When entering the name of the band I'll be sending a…
0
votes
2 answers

Is there a free API to retrieve artist images for applications

I was hoping to use Google Custom Search but they limit you to 100 queries per day...and that is per API key so the total queries per day for ALL users of my app would be 100. That is pretty sad honestly. LastFM won't allow you to use artist images…
user2167861
  • 179
  • 4
  • 12
0
votes
1 answer

php script to generate url for php api

i need some help as i am completely novice with php.. I have made a simple script to get an XML tracklist (from an API), then decode what i need and make a ul list with the tracks.. I also need to pull some artist images from a last.fm php script i…
Sam F
  • 13
  • 6
0
votes
1 answer

Invalid method signature when sending HTTP POST request

Ok this is really frustrating. I'm using my API key perfectly fine. Authentication does just fine, token is generated fine, session key is also OK. But when I run the playlist.create, the playlist is not created. I started from almost scratch today,…
Karan Goel
  • 1,117
  • 1
  • 12
  • 24
0
votes
2 answers

Am I allowed to use last.fm API in the following scenario?

I'm building an application which uses last.fm API. I want my server to communicate with last.fm and the users of my application would communicate with the server. So the user is indirectly communicating with last.fm. I'm doing this to speed up the…
Kiril
  • 6,009
  • 13
  • 57
  • 77
0
votes
1 answer

Extension can't find class

I'm trying to make an chrome extension with the last.fm & plug.dj API's it used to work until I started embedding my scripts in the extension, and sinds then I can't connect to neither of them. This is the setup script: function Setup(){ …
Kiwi
  • 2,713
  • 7
  • 44
  • 82
0
votes
3 answers

.click(function()) not being called

I'm trying to make an chrome extention with the last.fm api, and I've succesfully placed down the folliwing div in the page I want it to be shown.
»
but when…
Kiwi
  • 2,713
  • 7
  • 44
  • 82