2017 © Pedro Peláez
 

library codabox-gateway

Fetch CODA files from Codabox via the Tigron Restfull API

image

tigron/codabox-gateway

Fetch CODA files from Codabox via the Tigron Restfull API

  • Monday, May 7, 2018
  • by tigron
  • Repository
  • 3 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 18 % Grown

The README.md

codabox-gateway

Description

Fetch CODA files from Codabox via the Tigron REST gateway. For more information on this service, visit: https://codabox.tigron.net, (*1)

Installation

installation via composer:, (*2)

composer require tigron/codabox-gateway

Howto

Configure your Connection:, (*3)

\Tigron\Codabox\Config::$key = 'YOUR_API_KEY';

Get 1 CODA file by its ID:, (*4)

$coda_files = \Tigron\Codabox\Coda::get_by_id('00000000-0000-0000-0000-000000000000');

Get all CODA files for a specified year:, (*5)

$coda_files = \Tigron\Codabox\Coda::get_by_year(2018);

Get unprocessed CODA files:, (*6)

$coda_files = \Tigron\Codabox\Coda::get_unprocessed();

Mark a CODA file as 'processed':, (*7)

$coda = \Tigron\Codabox\Coda::get_by_id('00000000-0000-0000-0000-000000000000');
$coda->mark_processed();

Mark a CODA file as 'unprocessed':, (*8)

$coda = \Tigron\Codabox\Coda::get_by_id('00000000-0000-0000-0000-000000000000');
$coda->mark_unprocessed();

The Versions

07/05 2018

dev-master

9999999-dev

Fetch CODA files from Codabox via the Tigron Restfull API

  Sources   Download

MIT

by Tigron BVBA

07/05 2018

0.0.1

0.0.1.0

Fetch CODA files from Codabox via the Tigron Restfull API

  Sources   Download

MIT

by Tigron BVBA