The FloatHub API

There is an API available from FloatHub that will allow a user to extract data about the state and history of their vessel. It is documented here:

https://doc.floathub.com/api/

The base url https://api.floathub.com/v2 doesn’t seem to work

The base URL by itself just returns a 404 (i.e. not found) because by itself it is not a resource to anything. Any initial call to the API must first ask for a token by making a POST request at:

https://api.floathub.com/v2/token

and passing in your account username and password in the body of the post. You can do this on a command line with the curl utility (see here). Or you could use a browser extension like RestMan (Chrome) or HttpRequestMaker (Firefox) to build the request and see the token that comes back in a response.

Let us know if you need any other details.