package spotify-web-api

  1. Overview
  2. Docs

Source file track_t.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
(* Auto-generated from "track.atd" *)
[@@@ocaml.warning "-27-32-33-35-39"]

type artist_simplified = Artist_t.artist_simplified

type track_simplified = {
  artists: artist_simplified list;
  available_markets: string list;
  disc_number: int;
  duration_ms: int;
  explicit: bool;
  href: string;
  id: string;
  name: string;
  preview_url: string;
  track_number: int;
  uri: string
}

type external_urls = External_urls_t.external_urls

type external_ids = External_ids_t.external_ids

type album_simplified = Album_t.album_simplified

type track = {
  album: album_simplified;
  artists: artist_simplified list;
  available_markets: string list;
  disc_number: int;
  duration_ms: int;
  explicit: bool;
  external_ids: external_ids;
  external_urls: external_urls;
  href: string;
  id: string;
  name: string;
  popularity: int;
  preview_url: string;
  track_number: int;
  uri: string
}

type 'a paging = 'a Paging_t.paging

type search_wrapper = { tracks: track paging }