aboutsummaryrefslogblamecommitdiff
path: root/lib/listenbrainz.mli
blob: 6037c08c37bc9db5870bca0989718b06513b1367 (plain) (tree)
1
2
3
4
5
6
7
8
                    
 
                                                                         

                                                                 


                                                                    
 type token = string

val get_validate_token : token -> Listenbrainz_t.get_validate_token Lwt.t

val get_listens : string -> Listenbrainz_t.get_user_listens Lwt.t

val post_submit_listens : token -> Listenbrainz_t.payload_listens ->
  (Cohttp.Response.t * Listenbrainz_t.post_submit_listens) Lwt.t