Client library for Europeana Search & Record API
npm install --save @datafire/europeana_eu
let europeana_eu = require('@datafire/europeana_eu').create();
.then(data => {
console.log(data);
});
This Swagger API console provides an overview of the Europeana Search & Record API. You can build and test anything from the simplest search to a complex query using facetList such as dates, geotags and permissions. For more help and information, head to our comprehensive online documentation.
basic search function following the OpenSearch specification
europeana_eu.openSearch({
"searchTerms": ""
}, context)
- input
object
- count
integer
: count - searchTerms required
string
: searchTerms - startIndex
integer
: startIndex
- count
- output ModelAndView
get a single record in JSON format
europeana_eu.getSingleRecordJson({
"collectionId": "",
"recordId": "",
"wskey": ""
}, context)
- input
object
- callback
string
: callback - collectionId required
string
: collectionId - profile
string
: profile - recordId required
string
: recordId - wskey required
string
: wskey
- callback
- output ModelAndView
get single record in JSON LD format
europeana_eu.getSingleRecordJsonLD({
"collectionId": "",
"recordId": "",
"wskey": ""
}, context)
- input
object
- callback
string
: callback - collectionId required
string
: collectionId - recordId required
string
: recordId - wskey required
string
: wskey
- callback
- output ModelAndView
get single record in RDF format)
europeana_eu.getSingleRecordRDF({
"collectionId": "",
"recordId": "",
"wskey": ""
}, context)
- input
object
- collectionId required
string
: collectionId - recordId required
string
: recordId - wskey required
string
: wskey
- collectionId required
- output ModelAndView
get single record in Schema.org JSON LD format
europeana_eu.getSingleRecordSchemaOrg({
"collectionId": "",
"recordId": "",
"wskey": ""
}, context)
- input
object
- callback
string
: callback - collectionId required
string
: collectionId - recordId required
string
: recordId - wskey required
string
: wskey
- callback
- output ModelAndView
get single record in turtle format)
europeana_eu.getSingleRecordTurtle({
"collectionId": "",
"recordId": "",
"wskey": ""
}, context)
- input
object
- collectionId required
string
: collectionId - recordId required
string
: recordId - wskey required
string
: wskey
- collectionId required
- output ModelAndView
search for records
europeana_eu.searchRecords({
"query": "",
"wskey": ""
}, context)
- input
object
- callback
string
: callback - colourpalette
array
: colourpalette - cursor
string
: cursor - facet
array
: facet - hit.fl
string
: hit.fl - hit.selectors
string
: hit.selectors - landingpage
boolean
: landingpage - media
boolean
: media - profile
string
: profile - qf
array
: qf - query required
string
: query - reusability
array
: reusability - rows
integer
: rows - sort
string
: sort - start
integer
: start - text_fulltext
boolean
: text_fulltext - theme
string
: theme - thumbnail
boolean
: thumbnail - wskey required
string
: wskey
- callback
- output ModelAndView
search for records post
europeana_eu.searchRecordsPost({
"searchRequest": {
"query": ""
},
"wskey": ""
}, context)
- input
object
- searchRequest required SearchRequest
- wskey required
string
: wskey
- output ModelAndView
translate a term to different languages
europeana_eu.translateQueryUsingGET({
"languageCodes": [],
"term": "",
"wskey": ""
}, context)
- input
object
- callback
string
: callback - languageCodes required
array
: languageCodes - profile
string
: profile - term required
string
: term - wskey required
string
: wskey
- callback
- output ModelAndView
- Hit
object
- fl
string
- selectors
string
- fl
- ModelAndView
object
- empty
boolean
- model
object
- modelMap
object
- reference
boolean
- status
string
(values: 100, 101, 102, 103, 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 307, 308, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 426, 428, 429, 431, 451, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511) - view View
- viewName
string
- empty
- SearchRequest
object
- callback
string
- colourPalette
array
- items
string
- items
- cursor
string
- facet
array
- items
string
- items
- hit Hit
- landingPage
boolean
- media
boolean
- profile
array
- items
string
- items
- qf
array
- items
string
- items
- query required
string
- reusability
array
- items
string
- items
- rows
integer
- sort
array
- items
string
- items
- start
integer
- textFulltext
boolean
- theme
string
- thumbnail
boolean
- callback
- View
object
- contentType
string
- contentType