imamuseum / proficio-client
Export data from Proficio Digital Asset Management System.
dev-master
2017-01-20 15:24 UTC
This package is auto-updated.
Last update: 2025-01-09 22:15:19 UTC
README
This is the proficio client for Harvester 2.0
It only works with 2.0 and has only been implemented in the Mariners Museum online collection
This package relies on a sqlite data dump from Proficio that is created by the extractor
repositiory (https://bitbucket.org/imalab/extractor)
###Provided routes / proficioController methods:
example.site/proficio/getAllObjectIDs
example.site/proficio/getAllObjectIDs?catalog=archive
example.site/proficio/getAllObjects
example.site/proficio/getAllObjects?catalog=archive&take=5&start=5
example.site/proficio/getSpecificObject/{id}
example.site/proficio/getSpecificObject/{id}?catalog=archive
example.site/proficio/getUpdatedObjectIDs
example.site/proficio/getUpdatedObjectIDs?catalog=archive
example.site/proficio/getTableForObject/{table}/{id}
example.site/proficio/getTableForObject/{id}?catalog=archive
example.site/proficio/getTableForAllObjects/{table}
example.site/proficio/getTableForAllObjects/{table}?catalog=archive&take=5&start=5
Laravel Setup
In config\app.php
add to the autoloaded providers
Imamuseum\PictionClient\PictionServiceProvider::class,
php artisan vendor:publish
In laravel config\database.php
add a connection to the proficio sqlite. The name of this connection is defined in the proficio.php config file.
'connections' => [ 'proficio' => [ 'driver' => 'sqlite', 'database' => storage_path('proficio_export/db.sqlite3'), 'prefix' => '', ], ]
Composer Setup
{ "require": { "imamuseum/piction-client": "dev-master@dev" }, "repositories": [ { "type": "git", "url": "https://bitbucket.org/imalab/piction-client.git" } ] }