Igor Rjabinin

Slovak National Gallery

lab.SNG

+

Webumenia.sk is an on-line catalog of artworks from the collections of Slovak galleries

Launch: 2015 (170 208 artworks)

Laravel WebApp

data: MySQL & Elastic Search

images: IIP + OpenSeaDragon ...

Getting the data in (spice harvester)

art&artists records

collection management system OAI-PMH (oai_dc, ulan) spice harvester → db → elastic search index

 

images

IIP image server → Open Sea Dragon

 

Getting (new) data in

records

collection management system csv csv importer→ db → elastic search index

 

images

jp2 conversion (Kakadu) → Open Sea Dragon

 

https://github.com/SlovakNationalGallery/web-umenia-2

Why OpenAPI?

 

Charles West Cope / Oil on canvas / 1872

source: https://classicprogrammerpaintings.com/post/146552180542/rtfm-charles-west-cope-oil-on-canvas-1872

 

The OpenAPI Specification (OAS) defines a standard, language-agnostic interface to RESTful APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection. When properly defined, a consumer can understand and interact with the remote service with a minimal amount of implementation logic.

Examples

 

...and more

https://plenerizmus.sng.sk/

https://kod.sng.sk/

https://karasek.pamatniknarodnihopisemnictvi.cz/

Usage

    'webumenia' => [
        'url' => env('WEBUMENIA_URL', 'https://www.webumenia.sk'),
        'api' => env('WEBUMENIA_API', 'https://openapi.webumenia.sk'),
    ],
    $response = Http::get(config('services.webumenia.api') . '/items/' . $id, [
        'locale' =>  app()->getLocale()
    ]);
    $item = $response->object()->document->content;

https://openapi.webumenia.sk/items/

Get in touch!

Made with Slides.com