Universal Access To All Knowledge
Home donate | Forums | FAQs | Contributions | Terms, Privacy, & Copyright | Contact | Volunteer Positions | Jobs | Bios
Search: Advanced Search
Anonymous User (login or join us)
Upload

Reply to this post | See parent post | Go Back
View Post [edit]

Poster: pchulo58 Date: April 03, 2011 11:26:14am
Forum: etree Subject: Re: LMA API - How can I get Number of shows for a band?

Click on the link that says browse all artists with shows in the archive. There's a number next to the artist.

Reply to this post
Reply [edit]

Poster: ppaul129 Date: April 03, 2011 06:50:29pm
Forum: etree Subject: Re: LMA API - How can I get Number of shows for a band?

I know that I can see the number of shows, but I am looking for the parameter to pass that will return the number of shows back in the json.

Not sure it exists??

Reply to this post
Reply [edit]

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. :)

Terms of Use (10 Mar 2001)