method characterManager.CharacterManager.prototype.getCharacter
CharacterManager.prototype.getCharacter(characterId: number): Promise<characterModel.Character>

getCharacter: Get a Character from the Jikan API by its ID

Parameters

characterId: number

Return Type

Throws

Error if status is not between 200 and 300

Usage

import { characterManager } from ".";