The ShipGirl Project, Hiei; (c) Azur Lane
✅ Easy to use
✅ Configurable
✅ Rest based API
✅ Automatic Updates
🔗 https://github.com/Deivu/Hiei/releases
🔗 https://discord.com/invite/FVqbtGu (#development)
🔗 https://discord.com/invite/aAEdys8 (#support)
Ping or ask for @Sāya#0113
Download the latest version from Github Releases
Copy a config from examples folder
Run the server by doing
java -jar hiei.jar
Node.JS (Javascript)
const Fetch = require('node-fetch');
class AzurLane {
constructor() {
this.baseURL = 'http://localhost:1024';
this.auth = '1234';
}
searchShip(ship) {
return this._fetch('/ship/search', ship);
}
_fetch(endpoint, q) {
const url = new URL(endpoint, this.baseURL);
url.search = new URLSearchParams({ q }).toString();
return Fetch(url.toString(), { headers: { 'authorization': this.auth } })
.then(data => data.json());
}
}
const client = new AzurLane();
client.searchShip('hiei')
.then(data => data.json())
.then(data => console.log(data));
Made with ❤ by @Sāya#0113