Download the PHP package donutdan4114/box-view-api without Composer
On this page you can find all versions of the php package donutdan4114/box-view-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download donutdan4114/box-view-api
More information about donutdan4114/box-view-api
Files in donutdan4114/box-view-api
Package box-view-api
Short Description PHP SDK for the Box View API.
License MIT
Homepage https://github.com/donutdan4114/box-view-api
Informations about the package box-view-api
Box View PHP SDK
NOTE: No longer supported. Check out the official Box View PHP SDK.
Created by Daniel Pepin @
CommonPlaces, Inc
Sponsored by LawJacked
Documentation
For general API documentaion, please review the Box View API Documentation.
To get started, Include the required classes:
Intializing the API class:
Creating a document to upload:
Uploading a document to the API:
You can also upload local files through the API:
Uploading an array of documents to the API:
After some time, the document will be processed and can be viewed:
Embed the document in an iframe.
Retrieve a thumbnail image of the first page of a document. Thumbnails can have a width between 16 and 1024 pixels and a height between 16 and 768 pixels.
Showing a PDF version of the file.
Getting a Zip folder containing the HTML5 files for the document:
Deleting the document:
Handling Exceptions
API calls will throw an instance of Box_View_Exception
when an error is encountered.
You should wrap your API calls with a try/catch
.
All versions of box-view-api with dependencies
lib-curl Version *