@opfelmusig/lib
v0.0.0-ci.28.sha-aaf97ca
Published
Fully Typed Apple Music API Client
Maintainers
Readme
Öpfelmusig
Fully Typed Apple Music API Client.
Öpfelmusig is the literal Swiss German translation of "Apple Music":
- Öpfel = Swiss German for German "Apfel" ("Apple")
- Musig = Swiss German for German "Musik" ("Music")
It will primarily be used privately for my own use cases, so I do not intend to make it production-ready (but it probably will be).
Get Started
import { OpfelMusigClient } from "@opfelmusig/lib";
export const client = new OpfelMusigClient({
developerToken: token.developer,
userToken: token.user,
});
await client.useUserDefault();
const result = await client.catalog.songs.get("1866862252", {
scopes: {
songs: { fields: ["name"], relationships: { library: "include" } },
},
});