hi guys,
i'm very new to all this and am totally stuck with API (i don't really understand anything about it!).
I've been trying to make a chart for the most listened to bands from Northern Ireland in Last.Fm. this means that i would have to search for a list of bands that include any of a collection of tags ie Northern Ireland, NI, Belfast, Northern Irish etc
I've found out this is possible by using the follow link but have no idea how to go about getting a list from this.
http://www.last.fm/a...how?service=273
I'm ot even sure what language it is or how to put it on a webpage.
any help would be greatly appreciated... but please keep it simple if you can!!
Thanks very much for your time
Tristan
API Nightmare
Page 1 of 17 Replies - 759 Views - Last Post: 23 February 2009 - 06:04 PM
Replies To: API Nightmare
#2
Re: API Nightmare
Posted 23 February 2009 - 01:38 PM
The response is in XML and there's a number of ways you can get it onto your own web page.
You might need to be a little less vague to get a more detailed response or just knowing it is XML might be enough.
Hope it helps though.
You might need to be a little less vague to get a more detailed response or just knowing it is XML might be enough.
Hope it helps though.
#3
Re: API Nightmare
Posted 23 February 2009 - 02:06 PM
F!st!cuffs, on 23 Feb, 2009 - 12:38 PM, said:
The response is in XML and there's a number of ways you can get it onto your own web page.
You might need to be a little less vague to get a more detailed response or just knowing it is XML might be enough.
Hope it helps though.
You might need to be a little less vague to get a more detailed response or just knowing it is XML might be enough.
Hope it helps though.
Thanks for the reply. sorry if i was vague.
was just told that i'd be able to compile a chart of the most listened to NI bands on Last.fm using this link.
http://www.last.fm/a...how?service=273
No idea how!!
Seems i can search for tags but i want a list of bands that have any of a number of tags. Some bands only have Northern Ireland, or some have Northern Irish, NI etc, so i want to combine these searches to get a list of all NI bands.
Any ideas?
#4
Re: API Nightmare
Posted 23 February 2009 - 02:33 PM
your request would look something like this then
http://ws.audioscrob...ac220b7b2e0a026
This will give you the XML which you can then use as data for you chart
If you want to apply more than one tag just separate tags with a comma
EX: tag=Northern Ireland, NI, Northern Irish
That link that you posted has a list of all the available methods on the left so if you want all bands in NI you might need to use another method.
http://ws.audioscrob...ac220b7b2e0a026
This will give you the XML which you can then use as data for you chart
If you want to apply more than one tag just separate tags with a comma
EX: tag=Northern Ireland, NI, Northern Irish
That link that you posted has a list of all the available methods on the left so if you want all bands in NI you might need to use another method.
#5
Re: API Nightmare
Posted 23 February 2009 - 03:04 PM
Yeah, this looks very close to what i'm after!!...
but i can't seem to add more than one tag - i'm just putting it in the URL, is that correct?
also they seem to be in order of 'tagcount'...not sure what that is...looking for the most listened to... or if possible, most listened to within the past week.
REALLY APPRECIATE YOUR HELP!!!
but i can't seem to add more than one tag - i'm just putting it in the URL, is that correct?
also they seem to be in order of 'tagcount'...not sure what that is...looking for the most listened to... or if possible, most listened to within the past week.
REALLY APPRECIATE YOUR HELP!!!
#6
Re: API Nightmare
Posted 23 February 2009 - 03:36 PM
Looks like it only takes one tag (it uses the last one provided in the URL), and there seems to be no way to do sorting.
EDIT: Looks like this is what you want, but the best you can do for granularity is the UK; Northern Ireland does not appear to be available.
EDIT: Looks like this is what you want, but the best you can do for granularity is the UK; Northern Ireland does not appear to be available.
#7
Re: API Nightmare
Posted 23 February 2009 - 04:19 PM
yeah, if i had that, only with the option of Northern Ireland or else multiple tags...thanks for trying anyway!
actually, sorry. i'm looking for bands that are from Northern Ireland... don't want bands from England, America etc in the chart.
actually, sorry. i'm looking for bands that are from Northern Ireland... don't want bands from England, America etc in the chart.
This post has been edited by tbonetc: 23 February 2009 - 04:17 PM
#8
Re: API Nightmare
Posted 23 February 2009 - 06:04 PM
do you think this is impossible?
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|