docs.getList

This method retrieves a list of documents for a given user.

Parameters

string api_key (required) API key assigned to your account.
string api_sig (optional) MD5 hash of the active request and your secret key. This is an optional security measure. See the signing documentation for more info.
string session_key (optional) A session key for a signed in user. If this parameter is provided, your application will carry out actions on behalf of the signed in user corresponding to the session key. Otherwise, your application will carry out actions on behalf of the user account associated with the API account. See the authentication documentation for more information
string my_user_id (optional) This parameter is intended for sites with their own user authentication system. You can create phantom Scribd accounts that correspond to your users by simply passing the unique identifier you use to identify your own user accounts to my_user_id. If you pass this parameter to an API method, the API will act as if it were executed by the phantom user corresponding to my_user_id. See the authentication documentation for more information.
boolean use_api_account (optional) If true, will show all documents associated with this API account, instead of the Scribd user account. This will include documents created through my_user_id users
integer limit (required) The number of documents to return. You can paginate through the full list using the limit and offset parameters. The maximum limit is 1000.
integer offset (required) The offset into the list of documents. You can paginate through the full list using the limit and offset parameters.

Sample return XML

    <?xml version="1.0" encoding="UTF-8"?>
    <rsp stat="ok">
      <result_set list="true">
        <result>
          <doc_id>244565</doc_id>
          <isbn>1234567890123</isbn>
          <title>&lt;![CDATA[Ruby on Java]]&gt;</title>
          <description>&lt;![CDATA[Ruby On Java, Barcamp, Washington DC]]&gt;</description>
          <access_key>key-t3q5qujoj525yun8gf7</access_key>
          <conversion_status>DONE</conversion_status>
          <page_count>10</page_count>
        </result>
        <result>
          <doc_id>244567</doc_id>
          <title>&lt;![CDATA[Ruby on Java Part II]]&gt;</title>
          <description>&lt;![CDATA[Ruby On Java Part II, Barcamp, Washington DC]]&gt;</description>
          <access_key>key-2b3udhalycthsm91d1ps</access_key>
          <conversion_status>DONE</conversion_status>
          <page_count>12</page_count>
        </result>
      </result_set>
    </rsp>

Result explanation

list result Contains each individual result.
integer doc_id Every document on Scribd has a unique document ID. You can use this ID to link to the document, among other things.
string isbn The ISBN, if available.
string secret_password The secret password allows access to the Scribd pages for private documents. This parameter will only be provided if the given document is actually private.
string access_key The access_key allows you to embed a document on an external site.
string title
string description
URL thumbnail_url Link to a JPG that contains a thumbnail of the document. Do not cache thumbnail URLs - they are subject to change.
["DISPLAYABLE", "DONE", "ERROR", "PROCESSING"] conversion_status
integer page_count The number of pages in the document

Error codes

401 Unauthorized
500 Internal Server Error. Scribd has been notified about this problem.