Skip to content
0t4u edited this page Nov 23, 2020 · 28 revisions

Temporary v2 docs

=================

Import package:

import { AzurAPIClient } from @azurapi/azurapi

Methods:

getShips:

Returns a list of ships from GitHub hosted data.

<client>.getShips();

getEquipments():

Returns a list of equipments from GitHub hosted data.

<client>.getEquipments();

getChapters:

Returns a list of chapters from GitHub hosted data.

<client>.getChapters();

getVoicelines:

Returns a list of voice lines from GitHub hosted data.

<client>.getVoicelines();

getBarrages:

Returns a list of barragess from GitHub hosted data.

<client>.getBarrages();

getShip:

Gets ship by query. Params: query: the query (id or name)

<client>.getShip('query');

getShipsByFaction:

Get ship by faction. Params: faction: the faction to find ships from (Type: Nationality)

<client>.getShipByFaction('faction');

Extras:

NPM Scripts:

Clone this wiki locally