Please read guide at docs.
This document is provided for convenience only, and may not be up to date.
Latest: 1.1.0 Guide: 0.1.0
const client = new AzurAPI(/* options [optional]: { source (data source) [default = "local"]: "uncached" | "local", autoupdate (fetch new data or not) [default = true]: boolean, rate (rate of fetching new data) [default = 3600000]: number } */);
<AzurAPI>.updater.update();
<AzurAPI>.ships
<AzurAPI>.equipments
<AzurAPI>.chapters
<AzurAPI>.voicelines
<AzurAPI>.barrages
Note: All functions in accessor classes return arrays.
<AzurAPI>.<accessor>.fuze(/* name: string */);
<AzurAPI>.<accessor>.id(/* id: string */);
<AzurAPI>.<accessor>.get(/* query: string */);
<AzurAPI>.<accessor>.filter(/* predicate: function */);
<AzurAPI>.<accessor>.map(/* callbackfn: function */);
<AzurAPI>.<accessor>.forEach(/* callbackfn: function */);
<AzurAPI>.<accessor>.every(/* predicate: function */);
<AzurAPI>.<accessor>.some(/* predicate: function */);
.ships.name(/* name: string, language: 'en' | 'cn' | 'jp' | 'kr' */);
.ships.hull(/* name: string */);
> TODO: Rattley will write the rest later