@datafire/europeana_eu
v6.0.0
Published
DataFire integration for Europeana Search & Record API
Downloads
6
Readme
@datafire/europeana_eu
Client library for Europeana Search & Record API
Installation and Usage
npm install --save @datafire/europeana_eu
let europeana_eu = require('@datafire/europeana_eu').create();
.then(data => {
console.log(data);
});
Description
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.
Actions
openSearch
basic search function following the OpenSearch specification
europeana_eu.openSearch({
"searchTerms": ""
}, context)
Input
- input
object
- count
integer
: count - searchTerms required
string
: searchTerms - startIndex
integer
: startIndex
- count
Output
- output ModelAndView
getSingleRecordJson
get a single record in JSON format
europeana_eu.getSingleRecordJson({
"collectionId": "",
"recordId": "",
"wskey": ""
}, context)
Input
- input
object
- callback
string
: callback - collectionId required
string
: collectionId - profile
string
: profile - recordId required
string
: recordId - wskey required
string
: wskey
- callback
Output
- output ModelAndView
getSingleRecordJsonLD
get single record in JSON LD format
europeana_eu.getSingleRecordJsonLD({
"collectionId": "",
"recordId": "",
"wskey": ""
}, context)
Input
- input
object
- callback
string
: callback - collectionId required
string
: collectionId - recordId required
string
: recordId - wskey required
string
: wskey
- callback
Output
- output ModelAndView
getSingleRecordRDF
get single record in RDF format)
europeana_eu.getSingleRecordRDF({
"collectionId": "",
"recordId": "",
"wskey": ""
}, context)
Input
- input
object
- collectionId required
string
: collectionId - recordId required
string
: recordId - wskey required
string
: wskey
- collectionId required
Output
- output ModelAndView
getSingleRecordSchemaOrg
get single record in Schema.org JSON LD format
europeana_eu.getSingleRecordSchemaOrg({
"collectionId": "",
"recordId": "",
"wskey": ""
}, context)
Input
- input
object
- callback
string
: callback - collectionId required
string
: collectionId - recordId required
string
: recordId - wskey required
string
: wskey
- callback
Output
- output ModelAndView
getSingleRecordTurtle
get single record in turtle format)
europeana_eu.getSingleRecordTurtle({
"collectionId": "",
"recordId": "",
"wskey": ""
}, context)
Input
- input
object
- collectionId required
string
: collectionId - recordId required
string
: recordId - wskey required
string
: wskey
- collectionId required
Output
- output ModelAndView
searchRecords
search for records
europeana_eu.searchRecords({
"query": "",
"wskey": ""
}, context)
Input
- 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
- output ModelAndView
searchRecordsPost
search for records post
europeana_eu.searchRecordsPost({
"searchRequest": {
"query": ""
},
"wskey": ""
}, context)
Input
- input
object
- searchRequest required SearchRequest
- wskey required
string
: wskey
Output
- output ModelAndView
translateQueryUsingGET
translate a term to different languages
europeana_eu.translateQueryUsingGET({
"languageCodes": [],
"term": "",
"wskey": ""
}, context)
Input
- input
object
- callback
string
: callback - languageCodes required
array
: languageCodes - profile
string
: profile - term required
string
: term - wskey required
string
: wskey
- callback
Output
- output ModelAndView
Definitions
Hit
- Hit
object
- fl
string
- selectors
string
- fl
ModelAndView
- 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
- 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
- View
object
- contentType
string
- contentType