aboutsummaryrefslogtreecommitdiff
path: root/lib/listenbrainz.mli
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2021-11-06 20:11:15 -0400
committerRyan Kavanagh <rak@rak.ac>2021-11-06 20:11:15 -0400
commit835241baf271585ca85b2ecd7f1fe4633f8ec1a8 (patch)
tree39f8eef24d9a4c92a5eb554eb211fa3fc43db160 /lib/listenbrainz.mli
parentAdd mli file for listenbrainz_util (diff)
Initial client that can validate tokens and get listens
Diffstat (limited to 'lib/listenbrainz.mli')
-rw-r--r--lib/listenbrainz.mli7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/listenbrainz.mli b/lib/listenbrainz.mli
new file mode 100644
index 0000000..e3997bd
--- /dev/null
+++ b/lib/listenbrainz.mli
@@ -0,0 +1,7 @@
+type query
+
+val do_query : query -> (Cohttp.Response.t * string) Lwt.t
+
+val get_validate_token : unit -> (bool * Listenbrainz_t.get_validate_token) Lwt.t
+
+val get_listens : string -> Listenbrainz_t.get_user_listens Lwt.t