15 lines
No EOL
216 B
Markdown
15 lines
No EOL
216 B
Markdown
<?php
|
|
|
|
use Appwrite\Client;
|
|
use Appwrite\Services\Storage;
|
|
|
|
$client = new Client();
|
|
|
|
$client
|
|
->setProject('')
|
|
->setKey('')
|
|
;
|
|
|
|
$storage = new Storage($client);
|
|
|
|
$result = $storage->getFilePreview('[FILE_ID]'); |