Skip to content

Exerra/node-musickit-api

This branch is up to date with main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

33650f6 · Jan 4, 2024

History

83 Commits
Jan 3, 2024
Sep 24, 2021
Jan 4, 2024
Oct 21, 2021
Oct 21, 2021
Sep 22, 2021
Oct 22, 2021
Oct 21, 2021
Apr 13, 2022
Sep 24, 2021
Sep 21, 2021
Oct 13, 2021
Jan 4, 2024
Jan 4, 2024
Nov 5, 2021
Sep 20, 2021
Oct 21, 2021
Oct 21, 2021

Repository files navigation

node-musickit-api

A wrapper for the Apple Music API written in NodeJS

⚠️ This package is no longer being maintained as I no longer have access to a paid Apple Dev account ⚠️

Installation

npm install node-musickit-api
# or
yarn add node-musickit-api
# or
bun add node-musickit-api

Documentation

The documentation is viewable on musickit.js.org.

Issues

As I am now for the foreseeable future cancelling any work on this package (because of no paid Apple Dev account) I will leave a list of issues with this package.

  • The code quality is overall quite bad
  • It isn't written in TypeScript nor have TS types
  • The code should be built with promises in mind, not have them lazily patched on with a subpath (node-musickit-api/promises)
  • Personalised routes should not be lazily patched on with a subpath (node-musickit-api/personalized)
  • Personalized routes require a hacky workaround by authorizing with MusicKit.js (the official web lib by Apple), then grabbing the token and saving it as a file. Ideally the package should be able to handle auth.
  • There isn't a way to check if you are logged in without performing a query first (see: #10)