package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. browsers : StringCount.t list;
    (*

    Top browsers, e.g. "Chrome"; sorted by (descending) click counts. Only present if this data is available.

    *)
  2. countries : StringCount.t list;
    (*

    Top countries (expressed as country codes), e.g. "US" or "DE"; sorted by (descending) click counts. Only present if this data is available.

    *)
  3. longUrlClicks : int64;
    (*

    Number of clicks on all goo.gl short URLs pointing to this long URL.

    *)
  4. platforms : StringCount.t list;
    (*

    Top platforms or OSes, e.g. "Windows"; sorted by (descending) click counts. Only present if this data is available.

    *)
  5. referrers : StringCount.t list;
    (*

    Top referring hosts, e.g. "www.google.com"; sorted by (descending) click counts. Only present if this data is available.

    *)
  6. shortUrlClicks : int64;
    (*

    Number of clicks on this short URL.

    *)
}
val browsers : (t, StringCount.t list) GapiLens.t
val countries : (t, StringCount.t list) GapiLens.t
val longUrlClicks : (t, int64) GapiLens.t
val platforms : (t, StringCount.t list) GapiLens.t
val referrers : (t, StringCount.t list) GapiLens.t
val shortUrlClicks : (t, int64) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t
val to_data_model : t -> GapiJson.json_data_model
val of_data_model : GapiJson.json_data_model -> t
OCaml

Innovation. Community. Security.