Locations
Route that provides information about the locations
Data Structure
Here is how the data structure is sent in the location return
dataLocationMaking location requests
Random Location
GET https://api.strangerthings.tech/v1/locations/random
Send a random location
Query Parameters
Headers
{
"id": Number,
"location": {
"name": String,
"summary": String,
"location": String,
"history": String,
"type": String,
"population":{
"type": Array
},
"locationsIncluded": Array,
"curiosities": Array,
"behindTheScenes": Array,
"rules":Array,
"grades":Array,
"rooms": Array,
"employees": Array,
"students": Array,
"events": Array
}Location by ID
GET https://api.strangerthings.tech/v1/locations/id/:id
Search for a location by the requested id
Query Parameters
Headers
Location by name
GET https://api.strangerthings.tech/v1/locations/name/:name
Search for a location by the requested name
Query Parameters
Headers
Location List
GET https://api.strangerthings.tech/v1/locations/list
Returns a list of ids and names of available locations
Location data list
GET https://api.strangerthings.tech/v1/locations
Returns a list of locations starting with a specific id
Query Parameters
Headers
This method may return an error if the start parameter is longer than the list of available locations, see the list of Available locations or use the getList method.
Last updated