Socket
Book a DemoInstallSign in
Socket

@tidal-music/api

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tidal-music/api

A thin wrapper around the API domains described at: https://tidal-music.github.io/tidal-api-reference/ (which is again built on the JSON API spec: https://jsonapi.org/format/)

0.5.0
latest
Source
npmnpm
Version published
Maintainers
4
Created
Source

TIDAL API v2 Beta

A thin wrapper around the API domains described at: https://tidal-music.github.io/tidal-api-reference/ (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: createAPIClient. 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

Usage in Node.js

The previous examples assume usage in a browser context, but for server-side / Node.js usage there is an extra step needed. As the Auth package uses LocalStorage you have two options:

Which approach to choose will depend on how much control you need over the Auth flow.

Development

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

FAQs

Package last updated on 13 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.