Download the PHP package tigron/codabox-gateway without Composer
On this page you can find all versions of the php package tigron/codabox-gateway. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tigron/codabox-gateway
More information about tigron/codabox-gateway
Files in tigron/codabox-gateway
Download tigron/codabox-gateway
More information about tigron/codabox-gateway
Files in tigron/codabox-gateway
Vendor tigron
Package codabox-gateway
Short Description Fetch CODA files from Codabox via the Tigron Restfull API
License MIT
Package codabox-gateway
Short Description Fetch CODA files from Codabox via the Tigron Restfull API
License MIT
Please rate this library. Is it a good library?
Informations about the package codabox-gateway
codabox-gateway
Description
Fetch CODA files from Codabox via the Tigron REST gateway. For more information on this service, visit: https://codabox.tigron.net
Installation
installation via composer:
composer require tigron/codabox-gateway
Howto
Configure your Connection:
\Tigron\Codabox\Config::$key = 'YOUR_API_KEY';
Get 1 CODA file by its ID:
$coda_files = \Tigron\Codabox\Coda::get_by_id('00000000-0000-0000-0000-000000000000');
Get all CODA files for a specified year:
$coda_files = \Tigron\Codabox\Coda::get_by_year(2018);
Get unprocessed CODA files:
$coda_files = \Tigron\Codabox\Coda::get_unprocessed();
Mark a CODA file as 'processed':
$coda = \Tigron\Codabox\Coda::get_by_id('00000000-0000-0000-0000-000000000000');
$coda->mark_processed();
Mark a CODA file as 'unprocessed':
$coda = \Tigron\Codabox\Coda::get_by_id('00000000-0000-0000-0000-000000000000');
$coda->mark_unprocessed();
All versions of codabox-gateway with dependencies
PHP Build Version
Package Version
No informations.
The package tigron/codabox-gateway contains the following files
Loading the files please wait ....