clarkwinkelmann I have an update on this, as a developer you can already do the following in javascript:
const flarum = require('package');
const Flarum = new flarum('https://https://discuss.flarum.org/', true); // Flarum site link || Debug mode
(async ()=>{
const FlarumLogin = await Flarum.login('username/email', 'password');
console.log(FlarumLogin); // This will throw the token + id
})()
The two objects get stored for the session, but is there also a documentation of all api routes existing? For example getting user data?