package spotify-web-api

  1. Overview
  2. Docs
OCaml bindings to the Spotify web API

Install

Dune Dependency

Authors

Maintainers

Sources

spotify-web-api.0.2.1.tar.gz
sha256=6bcad14644a5b32e0eb007858472d3b56477a9c4aabcc5b1b87be9164b30d45a
md5=5a26d1c5e23df37104e83e40671d027d

doc/spotify-web-api/Image_j/index.html

Module Image_jSource

Sourcetype image = Image_t.image = {
  1. height : int;
  2. url : string;
  3. width : int;
}
Sourceval write_image : Buffer.t -> image -> unit

Output a JSON value of type image.

Sourceval string_of_image : ?len:int -> image -> string

Serialize a value of type image into a JSON string.

  • parameter len

    specifies the initial length of the buffer used internally. Default: 1024.

Input JSON data of type image.

Sourceval image_of_string : string -> image

Deserialize JSON data of type image.

OCaml

Innovation. Community. Security.