This is a binding in pure OCaml to the Dropbox Remote API using Lwt. It is suitable to run in mirage.
Use OPAM:
opam install dropbox
opam install dropbox_lwt_unixThe documentation is online and in the interface files dropbox.mli and dropbox_lwt_unix.mli.
Go to Dropbox App Console, create a new app, and generate an access token. Create a file run.conf with TOKEN=⟨your token⟩. Then you can use ./run pgm args where pgm is one of the tests.