Search celebrities

/celebrities/index.xml

Getting the list of celebrities.

Arguments

  • FirstLetter (Optional) - The first letter of celebrity name
  • Page (Optional) - The page of results to return. If this argument is omitted, it defaults to 1.
  • PerPage (Optional) - Number of items to return per page. If this argument is omitted, it defaults to 10.
    The maximum allowed value is 50.

Example query

  • GET /celebrities/index.xml?FirstLetter=A&AccessKeyId=0PN5X16HBGZHT7JJ3X82&Expires=1238598470&Signature=SF7y/ZXX8aSX5KnRjKnuOlP7S2k=
  • Host: api.imagecollect.com

Example response

             
<?xml version="1.0" encoding="UTF-8"?> 
<response> 
<result name="response" numFound="30189" pageNumber="1" perPage="10" onPage="10" pageCount="3019"/>
    <lst name="category"> 
        <doc> 
            <int name="id">203</int> 
            <str name="name"><![CDATA[Abbie Cornish]]></str> 
        </doc> 
        <doc> 
            <int name="id">277</int> 
            <str name="name"><![CDATA[Ace Young]]></str> 
        </doc> 
        <doc> 
            <int name="id">651</int> 
            <str name="name"><![CDATA[Adrienne Frantz]]></str> 
        </doc> 
        <doc> 
    </lst> 
</response> 

Error codes

  1. ValueError Error validating input parameters
  2. AuthenticationError Invalid AccessKeyID or invalid SecretAccessKey or Expired out of date
  3. NoSuchPage Invalid page number