method JikanClient.prototype.getCharacter
JikanClient.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 { JikanClient } from ".";