Preparing search index...
The search index is not available
rickmortyapi - v2.3.0
rickmortyapi - v2.3.0
index
getLocation
Function getLocation
get
Location
<
T
>
(
id
:
T
)
:
Promise
<
ApiResponse
<
T
extends
number
?
Location
:
Location
[]
>
>
Gets a Location by
id
or array of
ids
.
https://rickandmortyapi.com/documentation/#location
Type Parameters
T
extends
number
|
number
[]
Parameters
id:
T
Returns
Promise
<
ApiResponse
<
T
extends
number
?
Location
:
Location
[]
>
>
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 Location by
id
or array ofids
.https://rickandmortyapi.com/documentation/#location