package reddit_api_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Type : sig ... end
type t
include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
include Json_object.S_with_fields with type t := t
include Json_object_intf.S with type t := t
val get_field : t -> string -> Json.t option
val get_field_exn : t -> string -> Json.t
val field_map : t -> Json.t Core_kernel.String.Map.t
include Json_object.S_with_kind with type t := t
include Json_object_intf.S with type t := t
val of_json : Json.t -> t
val to_json : t -> Json.t
val kind : string
val id : t -> Thing.Comment.Id.t
val body : t -> [ `markdown | `HTML ] -> string
val author : t -> Username.t option
val subreddit : t -> Subreddit_name.t
val creation_time : t -> Core_kernel.Time_ns.t
val score : t -> int
val parent_id : t -> [ `Comment of Thing.Comment.Id.t | `Link of Thing.Link.Id.t ]
val new_ : t -> bool
val type_ : t -> Type.t
val num_comments_in_thread : t -> int