When using the REST interface for Last.fm web service, are the "Etag" and/or "Last-Modified" HTTP headers provided in the responses?
E.g. let's say I plan on using the track.getTags API method, is either "Etag" / "Last-Modified" HTTP header sent along with the response?
(NOTE: I have asked the same question on Last.fm's "discussion boa...
Hiya,
I'm trying to use the Last.fm API for an application I'm creating, but am having some problems with validation.
If an API request gives an error it returns a code and message in the response XML like this:
<lfm status="failed">
<error code="6">No user with that name</error>
</lfm>
However, the request also returns an HTTP stat...
There's a status indicator code for AIM which returns two different images depending on your status (on/offline) which was done in PHP and with the AIM API.
<img src="http://big.oscar.aol.com/USERNAME?on_url=ON_IMAGE&off_url=OFF_IMAGE">
I was looking for a Last.fm widget that shows JUST the album cover I'm listening to or the l...
I have very little experience with web development. I have a little experience with HTML and I am learning JavaScript right now. I created a program in Java using a a last.fm library for Java. I was able to get user information, artist information, and venue information. Now I want to try and do that in a webpage, which is where my probl...
Is there anyway to use user.getTopTracks for a time period, with a start and end, as opposed to a time duration?
I know you can send a period parameter such as 7day, 3month etc, which returns the top track for that period up until the present day, but is there anyway to get the top tracks like this: for the time period 1 Jan 07 - 31 Feb...
I'm using jquery to access a method of the Last.FM API. Here is my jquery code:
$.get('http://ws.audioscrobbler.com/2.0/','method=user.getweeklytrackchart&user=rj&api_key=fb04ae401284be24afba0fbc2f4b0efb', function(data,status) {
console.debug("in result method");
console.debug(data);
});
Here is the console o...
I'm using the Last.fm API with jquery as follows:
$.getJSON('http://ws.audioscrobbler.com/2.0/?JSONCallback=?',{
method: "user.getweeklytrackchart",
user: "rj",
api_key: "fb04ae401284be24afba0fbc2f4b0efb"
}, function(data) {
//console.debug (data)
}
);
I'm getting the following error in Firebug:
...
I'm trying to parse a JSON response using jquery from last.fm and getting longitude and latitude values. The part of the JSON that holds those values looks like this:
"location":{"geo:point":{"geo:lat":"58.409901","geo:long":"15.563306"}
The code I got is this:
$.getJSON("http://ws.audioscrobbler.com/2.0/?method=artist.getevents&...