Skip to content

IMAmuseum/harvester2-proficio-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proficio Client

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"
        }
    ]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages