{"id":21297491,"url":"https://github.com/fvdm/nodejs-europeana","last_synced_at":"2025-08-25T15:18:02.459Z","repository":{"id":473136,"uuid":"14259868","full_name":"fvdm/nodejs-europeana","owner":"fvdm","description":"Unofficial Node.js module for the Europeana API. Search and lookup art in various archives across Europe.","archived":false,"fork":false,"pushed_at":"2025-08-18T23:12:53.000Z","size":131,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-08-19T01:11:22.000Z","etag":null,"topics":["api-client","archives","art","european","europeana","manuscripts","museum","nodejs","unlicense"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/europeana","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fvdm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":"https://fvdm.com/donating/"}},"created_at":"2013-11-09T15:58:25.000Z","updated_at":"2025-08-18T23:12:55.000Z","dependencies_parsed_at":"2023-12-14T13:45:40.830Z","dependency_job_id":"d9fd9771-63e7-4c32-84aa-708bef4cd52b","html_url":"https://github.com/fvdm/nodejs-europeana","commit_stats":{"total_commits":141,"total_committers":6,"mean_commits":23.5,"dds":0.06382978723404253,"last_synced_commit":"adca08d22302aaf57da84f71f5e1f40d51fe3ce4"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/fvdm/nodejs-europeana","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fvdm%2Fnodejs-europeana","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fvdm%2Fnodejs-europeana/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fvdm%2Fnodejs-europeana/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fvdm%2Fnodejs-europeana/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fvdm","download_url":"https://codeload.github.com/fvdm/nodejs-europeana/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fvdm%2Fnodejs-europeana/sbom","scorecard":{"id":415109,"data":{"date":"2025-08-11","repo":{"name":"github.com/fvdm/nodejs-europeana","commit":"402f7853f4f30f5fd00bdfbd68d3559108a9c641"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/27 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/fvdm/nodejs-europeana/codeql-analysis.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/fvdm/nodejs-europeana/codeql-analysis.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/fvdm/nodejs-europeana/codeql-analysis.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/fvdm/nodejs-europeana/node.js.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/fvdm/nodejs-europeana/node.js.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/node.js.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/fvdm/nodejs-europeana/node.js.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/node.js.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/fvdm/nodejs-europeana/node.js.yml/develop?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/node.js.yml:35","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/node.js.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: The Unlicense: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T23:37:45.586Z","repository_id":473136,"created_at":"2025-08-18T23:37:45.590Z","updated_at":"2025-08-18T23:37:45.590Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272085272,"owners_count":24870682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","archives","art","european","europeana","manuscripts","museum","nodejs","unlicense"],"created_at":"2024-11-21T14:37:43.050Z","updated_at":"2025-08-25T15:18:02.413Z","avatar_url":"https://github.com/fvdm.png","language":"JavaScript","funding_links":["https://fvdm.com/donating/"],"categories":[],"sub_categories":[],"readme":"# europeana\n\nUnofficial Node.js module for the Europeana API.\nSearch and lookup art in various archives across Europe.\n\n[![npm](https://img.shields.io/npm/v/europeana.svg?maxAge=3600)](https://github.com/fvdm/nodejs-europeana/blob/master/CHANGELOG.md)\n[![Build Status](https://github.com/fvdm/nodejs-europeana/actions/workflows/node.js.yml/badge.svg?branch=master)](https://github.com/fvdm/nodejs-europeana/actions/workflows/node.js.yml)\n[![Coverage Status](https://coveralls.io/repos/github/fvdm/nodejs-europeana/badge.svg?branch=master)](https://coveralls.io/github/fvdm/nodejs-europeana?branch=master)\n\n* [Europeana](https://europeana.eu/)\n* [API documentation](https://pro.europeana.eu/page/apis)\n\n\n## Usage example\n\n```js\nconst EuropeanaAPI = require( 'europeana' );\nconst europeana = new EuropeanaAPI( {\n  wskey: 'abc123',\n} );\n\n// console.log is too limited\nfunction out( data ) {\n  console.dir( data, {\n    depth: null,\n    colors: true,\n  } );\n}\n\n\n// Search\neuropeana.search( {\n  query: 'et in arcadia ego',\n  rows: 5,\n} )\n  .then( out )\n  .catch( console.error )\n;\n```\n\n\n## Installation\n\n`npm install europeana`\n\n\n## Configuration\n\nYou can request an API key **[here](https://pro.europeana.eu/pages/get-api)**\n\nparam     | type   | default | description\n:---------|:-------|:--------|:-----------\nwskey     | string |         | API key\n[timeout] | number | `5000`  | Request timeout in ms\n\n\n```js\nconst EuropeanaAPI = require( 'europeana' );\nconst europeana = new EuropeanaAPI( {\n  wskey: 'abc123',\n  timeout: 5000,\n} );\n```\n\n\n## Errors\n\nAll methods have proper error handeling through `Promise.reject`.\nAPI errors are also caught this same way.\nEither parsed from the JSON response or translated from the HTTP code when the API returns HTML.\n\n\n## Methods\n\nEach method takes the arguments in object notation.\nThey all return a Promise.\n\n\n### Search\n**( { ... } )** : array\n\nPerform a search in the Europeana database.\n\nparam | type  | description\n:-----|:------|:-----------\n...   | mixed | One or multiple parameters\n\n[Available params](https://pro.europeana.eu/page/search#get-started)\n\n\n#### Example\n\n```js\neuropeana.search( {\n  query: 'et in arcadia ego',\n  rows: 5,\n} )\n  .then( out )\n  .catch( console.error )\n;\n```\n\n\n### getRecord\n**( { id } )** : object\n\nGet one specific record.\n\nparam | type   | description\n:-----|:-------|:-----------\nid    | string | Record identifier\n\n[ID spec](https://pro.europeana.eu/page/intro#identifying-records)\n\n\n#### Example\n\n```js\neuropeana.getRecord( {\n  id: '08501/03F4577D418DC84979C4E2EE36F99FECED4C7B11',\n} )\n  .then( out )\n  .catch( console.error )\n;\n```\n\n\n### getRecordThumbnailUrl\n**( { uri, type, size } )** : string\n\nGet the thumbnail URL for a record.\nThe resource `uri` is provided in the record `edmPreview` field.\n\nparam | type   | description\n:-----|:-------|:-----------\nuri   | string | Media resource URL\ntype  | string | Media resource type\nsize  | string | `w200` or `w400`\n\n[API docs](https://pro.europeana.eu/page/record#thumbnails)\n\n\n#### Example\n\n```js\neuropeana.getRecord( {\n  id: '08501/03F4577D418DC84979C4E2EE36F99FECED4C7B11',\n} )\n  .then( data =\u003e europeana.getRecordThumbnailUrl( {\n    uri: data.edmPreview,\n    type: 'IMAGE',\n    size: 'w400',\n  } ) )\n  .then( out )\n  .catch( console.error )\n; \n```\n\nUnlicense\n---------\n\nThis is free and unencumbered software released into the public domain.\n\nAnyone is free to copy, modify, publish, use, compile, sell, or\ndistribute this software, either in source code form or as a compiled\nbinary, for any purpose, commercial or non-commercial, and by any\nmeans.\n\nIn jurisdictions that recognize copyright laws, the author or authors\nof this software dedicate any and all copyright interest in the\nsoftware to the public domain. We make this dedication for the benefit\nof the public at large and to the detriment of our heirs and\nsuccessors. We intend this dedication to be an overt act of\nrelinquishment in perpetuity of all present and future rights to this\nsoftware under copyright law.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\nOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\nFor more information, please refer to \u003chttps://unlicense.org/\u003e\n\n\nAuthor\n------\n\n[Franklin](https://fvdm.com)\n| [Buy me a coffee](https://fvdm.com/donating)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffvdm%2Fnodejs-europeana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffvdm%2Fnodejs-europeana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffvdm%2Fnodejs-europeana/lists"}