Skip to content

spotify-cli


spotify-cli / identify

identify ​

Input identification heuristic — determines whether user input is a Spotify URI, a bare Spotify ID, or a search query.

Type Aliases ​

Identified ​

Identified = { id: string; kind: "uri"; type: string; uri: string; } | { id: string; kind: "id"; } | { kind: "query"; query: string; }

Defined in: src/identify.ts:8

Functions ​

identify() ​

identify(input): Identified

Defined in: src/identify.ts:16

Parameters ​

input ​

string

Returns ​

Identified

MIT Licensed. Not affiliated with or endorsed by Spotify AB.