Skip to content

Location

Access comic book location data from the Comic Vine API. Official API docs: /location | /locations

const location = client.location;

Parameters:

NameTypeRequiredDescription
idnumberYesThe unique ID of the location
options.fieldListstring[]NoOnly return the specified fields

Returns: Promise<LocationDetails>


Parameters:

NameTypeRequiredDescription
options.fieldListstring[]NoOnly return the specified fields
options.limitnumberNoNumber of results to return (default: 100)
options.offsetnumberNoNumber of results to skip
options.sortSortOptionNoSort field and direction
options.filterobjectNoFilter results by field values

Returns: Promise<PageData> & AsyncIterable<LocationListItem>