Locations

Route that provides information about the locations

Data Structure

Here is how the data structure is sent in the location return

dataLocation

Making location requests

Random Location

GET https://api.strangerthings.tech/v1/locations/random

Send a random location

Query Parameters

Name
Type
Description

language

String

Headers

Name
Type
Description

language

String

{
  "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

Name
Type
Description

language

String

Headers

Name
Type
Description

language

String

Location by name

GET https://api.strangerthings.tech/v1/locations/name/:name

Search for a location by the requested name

Query Parameters

Name
Type
Description

language

String

Headers

Name
Type
Description

language

String

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

Name
Type
Description

language

String

start*

Number

Inicio da lista

max

Number

min: 1, max: 10

Headers

Name
Type
Description

language

String

Last updated