varik-kos / o-auth-box-com
Box.com storage v2 API
dev-master
2017-12-05 13:11 UTC
Requires
- php: ^7.0
Requires (Dev)
- phpunit/phpunit: ^6.0
This package is not auto-updated.
Last update: 2025-06-17 00:17:52 UTC
README
Api storage box.com v2.0
Installation
You can install the package via composer:
composer require varik-kos/o-auth-box-com
Usage
The first thing you need to do is get an authorization token at Box.com https://app.box.com/developers/console You'll find more info at the Box Developer Blog https://developer.box.com/reference
use VarikKos\BoxComApi\Client $authToken = '**************************' //folder_id - The ID of the folder object $folder = 'folders/folder_id/items'; $client = new Client($authToken); $client->getFolderItems($folder);