var rpcRequest = require('./rpc-request');
require('./polyfills');

var DropboxApi = function (options) {
  this.accessToken = options && options.accessToken || '';
};

DropboxApi.prototype.setAccessToken = function (accessToken) {
  this.accessToken = accessToken;
};

DropboxApi.prototype.getAccessToken = function () {
  return this.accessToken;
};

DropboxApi.prototype.listFolder = function (path) {
  return rpcRequest('files/list_folder', { path: path }, this.getAccessToken());
};

module.exports = DropboxApi;

@@ -338,32 +338,698 @@
 ccessToken;%0A%7D;%0A%0A
+/**%0A * Returns the contents of a folder.%0A * @param %7BObject%7D params - The requests parameters%0A * @param %7Bstring%7D params.path - The path to the folder you want to see the contents of.%0A * @param %7Bboolean%7D %5Bparams.recursive=false%5D - If true, the list folder operation will be applied recursively to all subfolders and the response will contain contents of all subfolders.%0A * @param %7Bboolean%7D %5Bparams.include_media_info=false%5D - If true, FileMetadata.media_info is set for photo and video.%0A * @param %7Bboolean%7D %5Bparams.include_deleted=false%5D - If true, the results will include entries for files and folders that used to exist but were deleted.%0A * @returns %7BObject%7D%0A * */%0A
 DropboxApi.proto
@@ -1058,18 +1058,20 @@
 tion (pa
-th
+rams
 ) %7B%0A  re
@@ -1111,22 +1111,14 @@
 r', 
-%7B path: path %7D
+params
 , th

Add JSDocs populated from website documentation