{"id":21297497,"url":"https://github.com/fvdm/nodejs-searchitunes","last_synced_at":"2025-10-08T07:11:08.548Z","repository":{"id":4319030,"uuid":"5453131","full_name":"fvdm/nodejs-searchitunes","owner":"fvdm","description":"Lightweight node.js module to quickly search Apple's iTunes Store for music, movies, apps, etc.","archived":false,"fork":false,"pushed_at":"2025-09-12T13:39:39.000Z","size":271,"stargazers_count":29,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2025-09-12T16:04:17.877Z","etag":null,"topics":["api-client","apple-itunes-store","apps","appstore","movies","music","nodejs","unlicense"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/searchitunes","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"custom":"https://fvdm.com/donating"}},"created_at":"2012-08-17T14:14:16.000Z","updated_at":"2025-09-12T13:39:41.000Z","dependencies_parsed_at":"2024-04-02T17:46:00.472Z","dependency_job_id":"4ebf7cee-fff0-4f4f-884c-4da0ac24b6e4","html_url":"https://github.com/fvdm/nodejs-searchitunes","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/fvdm/nodejs-searchitunes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fvdm%2Fnodejs-searchitunes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fvdm%2Fnodejs-searchitunes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fvdm%2Fnodejs-searchitunes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fvdm%2Fnodejs-searchitunes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fvdm","download_url":"https://codeload.github.com/fvdm/nodejs-searchitunes/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fvdm%2Fnodejs-searchitunes/sbom","scorecard":{"id":415129,"data":{"date":"2025-08-11","repo":{"name":"github.com/fvdm/nodejs-searchitunes","commit":"0b298b9318dab854a32bdcfda804082deb7b692b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5,"checks":[{"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":"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":"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":"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":"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":"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:23: update your workflow using https://app.stepsecurity.io/secureworkflow/fvdm/nodejs-searchitunes/codeql-analysis.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/fvdm/nodejs-searchitunes/codeql-analysis.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/fvdm/nodejs-searchitunes/codeql-analysis.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/fvdm/nodejs-searchitunes/node.js.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/fvdm/nodejs-searchitunes/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-searchitunes/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-searchitunes/node.js.yml/develop?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/node.js.yml:36","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":"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":"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 3 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:38:02.203Z","repository_id":4319030,"created_at":"2025-08-18T23:38:02.203Z","updated_at":"2025-08-18T23:38:02.203Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275174445,"owners_count":25418063,"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-09-14T02:00:10.474Z","response_time":75,"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","apple-itunes-store","apps","appstore","movies","music","nodejs","unlicense"],"created_at":"2024-11-21T14:37:45.337Z","updated_at":"2025-10-08T07:11:08.514Z","avatar_url":"https://github.com/fvdm.png","language":"JavaScript","funding_links":["https://fvdm.com/donating"],"categories":[],"sub_categories":[],"readme":"# searchitunes\n\nLightweight Node.js package to quickly search the Apple iTunes Store and App Store for music, movies, apps, etc.\n\n[![npm](https://img.shields.io/npm/v/searchitunes.svg?maxAge=3600)](https://github.com/fvdm/nodejs-searchitunes/releases)\n[![Build Status](https://github.com/fvdm/nodejs-searchitunes/actions/workflows/node.js.yml/badge.svg?branch=master)](https://github.com/fvdm/nodejs-searchitunes/actions/workflows/node.js.yml)\n[![Coverage Status](https://coveralls.io/repos/github/fvdm/nodejs-searchitunes/badge.svg?branch=master)](https://coveralls.io/github/fvdm/nodejs-searchitunes?branch=master)\n\n\n## Example\n\n```js\nconst searchitunes = require( 'searchitunes' );\n\n// Find free Github app for iPhone in Dutch App Store\nsearchitunes( {\n  entity:  'software',\n  country: 'NL',\n  term:    'github',\n  limit:   1,\n  price:   0,\n} )\n  .then( console.log )\n  .catch( console.error )\n;\n\n// Get one specific item by ID\nsearchitunes( { id: 512939461 } )\n  .then( console.log )\n  .catch( console.error )\n;\n```\n\n\n## Installation\n\n`npm i searchitunes`\n\n\n## Interface\n\nThe module exports only one function.\nArguments must be wrapped in an object.\nIt returns a Promise.\n\n\n## Configuration\n\nThe parameters below can be included along with the\nnormal API params.\n\nparam        | type   | default         | description\n:------------|:-------|:----------------|:-----------\n[timeout]    | number | 5000            | Wait time out in ms\n[userAgent]  | string | searchitunes.js | User-Agent header\n[throwEmpty] | bool   | true            | Throw `no results` instead of returning `[]`\n...          | mixed  |                 | API parameters\n\n```js\nitunes( {\n  timeout: 8000,\n  entity:  'software',\n  term:    'github',\n} )\n```\n\n\n## Search API\n\nFor searching in the iTunes databases you simply include\nthe search params in your request. The function will\nresolve with an object.\n\n- [Search API docs](https://developer.apple.com/library/archive/documentation/AudioVideo/Conceptual/iTuneSearchAPI/)\n- [Live demo](https://npm.runkit.com/searchitunes)\n\n\n### Lookup by ID\n\nWhen you wish to retrieve one specific item by its ID, include one of the ID\nparams to use the Lookup API. The result data will be only the `object` with\nthe item's details.\n\n- [Lookup API docs](https://developer.apple.com/library/archive/documentation/AudioVideo/Conceptual/iTuneSearchAPI/LookupExamples.html)\n\n\n#### ID params\n\n- amgAlbumId\n- amgArtistId\n- amgVideoId\n- id\n- isbn\n- upc\n- trackId\n\nWhen you lookup a `trackId` from a search response it will be automatically\nconverted to the `id` parameter instead. Otherwise the API won't understand it.\n\n\n```js\nsearchitunes( { id: 123456 } )\n  .then( console.log )\n  .catch( console.error )\n;\n```\n\n\n#### Bulk lookup\n\nTo request multiple objects at once you set one of the ID params above to an\n_array_ with the item ID's. This will always return an _array_.\n\n```js\nsearchitunes( { id: [ 123, 789 ] } )\n  .then( arr =\u003e arr.forEach( processItems ) )\n  .catch( console.error )\n;\n```\n\n\n## Errors\n\nAPI errors are handled and thrown, prefixed with `API: `\n\nWhen nothing is found it will throw with `no results` message. You can prevent\nthis behavior by setting `throwEmpty` to `false` to return an empty array.\n\n```js\nsearchitunes( {\n  throwEmpty: false,\n  entity: 'software',\n  term: 'github',\n} )\n  .then( console.log )\n  .catch( console.error )\n;\n```\n\n\n## Unlicense\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\n## Author\n\n[Franklin](https://fvdm.com)\n| [buy me a coffee](https://fvdm.com/donating)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffvdm%2Fnodejs-searchitunes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffvdm%2Fnodejs-searchitunes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffvdm%2Fnodejs-searchitunes/lists"}