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
1 answer

Tag Clustering in Lastfm database

I have a last.fm dataset composed of songs and their tags given by the users. I want to apply a clusterization on the dataset in order to find clusters of songs based on tags. The dataset has 200k songs and 119k different tags. I was previously…
Thiago
  • 694
  • 3
  • 12
  • 26
0
votes
2 answers

Returning different images through PHP

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. I was…
Espresso
  • 4,722
  • 1
  • 24
  • 33
0
votes
0 answers

API Call in Express app

I am following this tutorial . I want to replicate the same but I am thinking to use Last.fm API in place of TVDB. So I changed the server.js code from https://jsfiddle.net/3a1wbdkr/ to incorporate album.search method https://jsfiddle.net/f6qh2ed4/…
mr-karan
  • 203
  • 4
  • 11
0
votes
4 answers

APIs to get Movies, Music, TV Shows and Books details

I am trying to apply some APIs so that I can display and save Title, Image and Description of Latest Movies, Music Charts, Books & TV Shows on my PHP Website. Currently I have come across the following APIs: Movies: RottenTomatoes or TMDB API TV…
Deepanshu Goyal
  • 2,738
  • 3
  • 34
  • 61
0
votes
3 answers

Getting error on inserting tuple values in postgreSQL table using python

I want to keep last.fm's user recent music tracks list to postgresql database table using pylast interface.But when I tried to insert values to the table it shows errors.Code example: import pylast import psycopg2 import re from md5 import…
rahman.bd
  • 525
  • 1
  • 6
  • 13
0
votes
1 answer

Parsing JSON in Swift not working

I am working on an IOS app in Xcode 6 using swift. I am new to the language and honestly I am pulling out what little hair I have. I am about to see the following JSON results from my API call to LastFM when usingb NSLog("%@", allResults) artist = …
Jusmark123
  • 213
  • 1
  • 3
  • 11
0
votes
2 answers

Extract characters in the middle of a string (maybe with regex?) in R

I am battling with regex and I can't figure it out. I have a bid data base extracted from last.fm (www.lastfm.com). The file is a .txt file where each column from each line is delimited by "," (comma) with over 1.7 GB and there are some characters…
JMarchante
  • 123
  • 1
  • 4
  • 11
0
votes
4 answers

DOMDocument load on a page returning 400 Bad Request status

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: No…
Pete Williams
  • 221
  • 3
  • 10
0
votes
0 answers

Using datatables plugin with ajax

I am currently working on a personal project using Last FM's API to display data on my music tastes. The first task I've given myself is to create a table which displays my Recently Played Tracks. I'm using the DataTables plugin for JQuery as I…
James Howell
  • 1,392
  • 5
  • 24
  • 42
0
votes
0 answers

Compile error with cocoa pod code in iOS 8 beta

I'm developing in Xcode6 Beta 6 for iOS 8. I am encountering an code error on an imported LastFM Cocoa Pod: when I try to compile, but I can't seem to figure out what's causing the error. (Using all the code from the example) I keep getting the…
0
votes
1 answer

How can I get json in my wordpress loop?

How can I get json in my wordpress loop? Now I have this and it works fine, but very slow: have_posts() ) : $wp_query->the_post(); ?> post_title; $context = stream_context_create(array('http' =>…
Jason Cole
  • 51
  • 1
  • 10
0
votes
1 answer

user.getInfo and GSON parsing in Java

Below is the sample response from last.fm api "image": [ { "#text": "http://userserve-ak.last.fm/serve/34/86765245.jpg";, "size": "small" }, { "#text": "http://userserve-ak.last.fm/serve/64/86765245.jpg";, "size": "medium" }, { "#text":…
0
votes
0 answers

Implementing Last.fm authentication in Windows Phone 8

I need to implement last.fm authentication in my Windows Phone 8 application. Last.fm requires a POST request with https for successful login. Here is what I'm doing. public async void GetMobileSession(string userName, string password,…
thatrohit
  • 177
  • 8
0
votes
1 answer

returning json from the lastfm api

So I am trying to create a jquery/ajax autocomplete form that uses the last.fm api to autocomplete the title of a song to whatever the user is typing, the problem im having is that I can not seem to get the last fm data to return in the proper json…
Halter
  • 48
  • 2
  • 6
  • 30
0
votes
1 answer

User location information mapping with lastfm music track history in python

I have two separate python scripts. One is for getting user location information (which I get from web based geofeed provider.User Gsm is registerd with that services).Another is for retrieving lastfm user track history.I have already able to get…
rahman.bd
  • 525
  • 1
  • 6
  • 13