|
Poster:
|
xtifr |
Date:
|
April 06, 2011 07:42:24pm |
|
Forum:
|
etree
|
Subject:
|
Re: LMA API - How can I get Number of shows for a band? |
I don't think you can ask for
just the number of items in a collection. That's a property
of the database, not an item in the database, if you see what I mean.
You can, however, ask it for a single item, and the response will include the total number. For example, if I send the query below, I get back a result that includes: "response":{
"numFound":1100 Sample query:
http://www.archive.org/advancedsearch.php?q=collection%3A%28Radiators%29&fl[]=identifier&sort[]=&sort[]=&sort[]=&rows=1&page=1&output=json&callback=callback
Anyway, that's the approach I've been using. If you find another way, please let me know. :)