module Api11:sig
..end
(string * string option) list
typeparams =
(string * string option) list
val (~?) : ('a * 'b option) list -> ('a * 'b) list
(string * string) list
.val twitter : Oauth.t ->
?host:string ->
Http.meth ->
string ->
(string * string) list ->
(Api_intf.Json.t, [> `Http of int * string ]) Meta_conv.Result.t
val json_error_wrap : ('a -> [< `Error of 'b | `Ok of 'c ]) ->
[< `Error of [> `Json of 'b ] as 'd | `Ok of 'a ] ->
[> `Error of 'd | `Ok of 'c ]
val api : (Api_intf.Json.t -> [< `Error of 'a | `Ok of 'b ]) ->
Http.meth ->
('c, unit, string,
(string * string option) list ->
Oauth.t ->
[> `Error of [> `Http of int * string | `Json of 'a ] | `Ok of 'b ])
Pervasives.format4 -> 'c
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
module Arg:sig
..end
module Cursor:sig
..end
module Timelines:sig
..end
module Tweets:sig
..end
module Search:sig
..end
module Streaming:sig
..end
module DirectMessages:sig
..end
module FriendsAndFollowers:
module Friends:FriendsAndFollowers
(
sig
val dir :string
end
)
module Followers:FriendsAndFollowers
(
sig
val dir :string
end
)
module Friendships:sig
..end
module Users:sig
..end
module Blocks:sig
..end
module SuggestedUsers:sig
..end
module Favorites:sig
..end
module Lists:sig
..end
module SavedSearches:sig
..end
module PlacesAndGeo:sig
..end
module Trends:sig
..end
module SpamReporting:sig
..end
module OAuth:sig
..end
module Help:sig
..end