0.4.0 • Published 10 months ago

@tidal-music/catalogue v0.4.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
10 months ago

TIDAL Catalogue v2 Beta

A thin wrapper around the API described at: https://developer.tidal.com/reference/web-api?spec=catalogue-v2&ref=get-albums-v2 (which is again built on the JSON API spec: https://jsonapi.org/format/)

The module provides Typescript types and a fetch based function for getting data, using: https://openapi-ts.pages.dev/

Usage

One function is exposed that can be used for creating a function that can then do network calls: createCatalogueClient. Also the API types are exposed and can be used directly.

Example

See the examples/ folder for some ways it can be used.

To run it do: pnpm dev

Development

Run pnpm generateTypes to regenerate the types from the API specs.

0.4.0

10 months ago

0.3.2

10 months ago

0.3.1

10 months ago

0.3.0

10 months ago

0.2.0

12 months ago

0.1.0

1 year ago