Preparing search index...
The search index is not available
rickmortyapi - v2.3.0
rickmortyapi - v2.3.0
index
getCharacter
Function getCharacter
get
Character
<
T
>
(
id
:
T
)
:
Promise
<
ApiResponse
<
T
extends
number
?
Character
:
Character
[]
>
>
Gets a Character by
id
or array of
ids
.
https://rickandmortyapi.com/documentation/#character
Type Parameters
T
extends
number
|
number
[]
Parameters
id:
T
Returns
Promise
<
ApiResponse
<
T
extends
number
?
Character
:
Character
[]
>
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
Modules
rickmortyapi -
v2.3.0
index
interfaces
Api
Response
Character
Character
Filter
Character
Location
Endpoints
Episode
Episode
Filter
Info
Location
Location
Filter
Resource
Base
get
Character
get
Characters
get
Endpoints
get
Episode
get
Episodes
get
Location
get
Locations
Gets a Character by
id
or array ofids
.https://rickandmortyapi.com/documentation/#character