package calculon-web

  1. Overview
  2. Docs
val get_body : Uri.t -> string Lwt.t
type query =
  1. | Movie of string
  2. | Serie of string
val query_movie : string -> query
val query_serie : string -> query
val api_prefix : Uri.t
val make_search_uri : query -> Uri.t
val make_get_uri : string -> Uri.t
val parse_get : string -> Movie_j.query_entry option
val get_infos : string -> Movie_j.query_entry option Lwt.t
val ellipsis : int -> string -> string
val make_imdb_url : string -> string
val show_result : ?buffer:Buffer.t -> (string * Movie_t.query_entry) -> string
val get_id : Movie_t.search_entry -> string
val refine_results : ?n:int -> Movie_t.search_result -> Movie_j.query_entry list Lwt.t
val format_seq : ?n:int -> Movie_t.search_result -> string list Lwt.t
val mk_movie_cmd : string -> (string -> query) -> Calculon.Command.t
val cmd_film : Calculon.Command.t
val cmd_serie : Calculon.Command.t
val plugin : Calculon.Plugin.t
OCaml

Innovation. Community. Security.