npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@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

Output

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

Output

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

Output

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

Output

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

Output

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

Output

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

Output

searchRecordsPost

search for records post

europeana_eu.searchRecordsPost({
  "searchRequest": {
    "query": ""
  },
  "wskey": ""
}, context)

Input

  • input object

Output

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

Output

Definitions

Hit

  • Hit object
    • fl string
    • selectors string

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

SearchRequest

  • SearchRequest object
    • callback string
    • colourPalette array
      • items string
    • cursor string
    • facet array
      • items string
    • hit Hit
    • landingPage boolean
    • media boolean
    • profile array
      • items string
    • qf array
      • items string
    • query required string
    • reusability array
      • items string
    • rows integer
    • sort array
      • items string
    • start integer
    • textFulltext boolean
    • theme string
    • thumbnail boolean

View

  • View object
    • contentType string