module Friendships:sig..end
typeconnection =[ `Followed_by | `Following | `Follwing_requested | `None ]
val json_of_connection : connection -> Api_intf.Json.tval connection_of_json : (connection, Api_intf.Json.t) Meta_conv.Types.Decoder.tval connection_of_json_exn : (connection, Api_intf.Json.t) Meta_conv.Types.Decoder.t_exnval ocaml_of_connection : connection -> Ocaml.tval connection_of_ocaml : (connection, Ocaml.t) Meta_conv.Types.Decoder.tval connection_of_ocaml_exn : (connection, Ocaml.t) Meta_conv.Types.Decoder.t_exn(string * string option) list(string * string) list.api post meth fmt ...(format args)... params oauth
post : Parser of JSON. If you want to have the raw JSON, use fun x -> `Ok x.
meth : GET or POST
fmt : piece of path, you can use Printf % format
params : the type is params
oauth : OAuth value
optf with the init empty
parameters, then give the final set of parameters to consumertypet =< connections : connection list; id : int64;
id_str : string; name : string; screen_name : string >
val json_of_t : t -> Api_intf.Json.tval t_of_json : (t, Api_intf.Json.t) Meta_conv.Types.Decoder.tval t_of_json_exn : (t, Api_intf.Json.t) Meta_conv.Types.Decoder.t_exnval ocaml_of_t : t -> Ocaml.tval t_of_ocaml : (t, Ocaml.t) Meta_conv.Types.Decoder.tval t_of_ocaml_exn : (t, Ocaml.t) Meta_conv.Types.Decoder.t_exn(string * string option) list(string * string) list.api post meth fmt ...(format args)... params oauth
post : Parser of JSON. If you want to have the raw JSON, use fun x -> `Ok x.
meth : GET or POST
fmt : piece of path, you can use Printf % format
params : the type is params
oauth : OAuth value
optf with the init empty
parameters, then give the final set of parameters to consumertypets =t list
val json_of_ts : ts -> Api_intf.Json.tval ts_of_json : (ts, Api_intf.Json.t) Meta_conv.Types.Decoder.tval ts_of_json_exn : (ts, Api_intf.Json.t) Meta_conv.Types.Decoder.t_exnval ocaml_of_ts : ts -> Ocaml.tval ts_of_ocaml : (ts, Ocaml.t) Meta_conv.Types.Decoder.tval ts_of_ocaml_exn : (ts, Ocaml.t) Meta_conv.Types.Decoder.t_exn(string * string option) list(string * string) list.api post meth fmt ...(format args)... params oauth
post : Parser of JSON. If you want to have the raw JSON, use fun x -> `Ok x.
meth : GET or POST
fmt : piece of path, you can use Printf % format
params : the type is params
oauth : OAuth value
optf with the init empty
parameters, then give the final set of parameters to consumerval lookup : ?screen_name:string list ->
?user_id:int64 list ->
Oauth.t ->
[> `Error of
[> `Http of int * string | `Json of Api_intf.Json.t Meta_conv.Error.t ]
| `Ok of ts ]type ids = {
|
ids : |
val json_of_ids : ids -> Api_intf.Json.tval ids_of_json : (ids, Api_intf.Json.t) Meta_conv.Types.Decoder.tval ids_of_json_exn : (ids, Api_intf.Json.t) Meta_conv.Types.Decoder.t_exnval ocaml_of_ids : ids -> Ocaml.tval ids_of_ocaml : (ids, Ocaml.t) Meta_conv.Types.Decoder.tval ids_of_ocaml_exn : (ids, Ocaml.t) Meta_conv.Types.Decoder.t_exn(string * string option) list(string * string) list.api post meth fmt ...(format args)... params oauth
post : Parser of JSON. If you want to have the raw JSON, use fun x -> `Ok x.
meth : GET or POST
fmt : piece of path, you can use Printf % format
params : the type is params
oauth : OAuth value
optf with the init empty
parameters, then give the final set of parameters to consumerval gen_io : string ->
([> `Error of
[> `Http of int * string | `Json of Api_intf.Json.t Meta_conv.Error.t ]
| `Ok of int64 ]
Spotlib.Spot.Stream.t -> 'a) ->
Oauth.t -> 'aval incoming_stream : Oauth.t ->
[> `Error of
[> `Http of int * string | `Json of Api_intf.Json.t Meta_conv.Error.t ]
| `Ok of int64 ]
Spotlib.Spot.Stream.tval incoming : Oauth.t ->
[> `Error of
[> `Http of int * string | `Json of Api_intf.Json.t Meta_conv.Error.t ]
| `Ok of int64 ]
listval outgoing_stream : Oauth.t ->
[> `Error of
[> `Http of int * string | `Json of Api_intf.Json.t Meta_conv.Error.t ]
| `Ok of int64 ]
Spotlib.Spot.Stream.tval outgoing : Oauth.t ->
[> `Error of
[> `Http of int * string | `Json of Api_intf.Json.t Meta_conv.Error.t ]
| `Ok of int64 ]
listval create : ?user_id:int64 ->
?screen_name:string ->
?follow:bool ->
Oauth.t ->
[> `Error of
[> `Http of int * string | `Json of Api_intf.Json.t Meta_conv.Error.t ]
| `Ok of Api_intf.User.t ]val follow : ?user_id:int64 ->
?screen_name:string ->
?follow:bool ->
Oauth.t ->
[> `Error of
[> `Http of int * string | `Json of Api_intf.Json.t Meta_conv.Error.t ]
| `Ok of Api_intf.User.t ]val destroy : ?user_id:int64 ->
?screen_name:string ->
Oauth.t ->
[> `Error of
[> `Http of int * string | `Json of Api_intf.Json.t Meta_conv.Error.t ]
| `Ok of Api_intf.User.t ]val unfollow : ?user_id:int64 ->
?screen_name:string ->
Oauth.t ->
[> `Error of
[> `Http of int * string | `Json of Api_intf.Json.t Meta_conv.Error.t ]
| `Ok of Api_intf.User.t ]