filesGet() публичный Метод

Downloads a file.
public filesGet ( string $path, string[optional] $rev = null, bool[optional] $sandbox = false ) : array
$path string The path to the file you want to retrieve.
$rev string[optional]
$sandbox bool[optional]
Результат array An array with the content-type and the data as a base64-encoded string.
Пример #1
0
 /**
  * Tests Dropbox->filesGet()
  */
 public function testFilesGet()
 {
     $response = $this->dropbox->filesGet(BASE_PATH . 'hàh@, $.txt');
     $this->assertArrayHasKey('content_type', $response);
     $this->assertArrayHasKey('data', $response);
 }