Environments
Get all environments
Properties
- Name
id
TypestringDescriptionThe environment ID.
- Name
name
TypestringDescriptionThe environment name.
- Name
article
TypestringDescriptionThe environment name with article.
- Name
image
TypestringDescriptionThe environment image.
- Name
headerImage
TypestringDescriptionThe environment header image.
- Name
region
TypestringDescriptionThe environment region.
- Name
order
TypeintegerDescriptionThe environment order.
- Name
title
TypestringDescriptionThe title needed to be able to access the environment.
Request
GET
https://api.mouse.rip/environmentsconst environments = await fetch('https://api.mouse.rip/environments')
console.log(environments)
Response
[
{
"id": "meadow",
"name": "Meadow",
"article": "the Meadow",
"image": "https://www.mousehuntgame.com/images/environments/a441eb078698da69ef2765983f4b5912.jpg?cv=2",
"headerImage": "https://www.mousehuntgame.com/images/environments/6ef3ffe2f90a79250807b46105e77b68.jpg?cv=2",
"region": "gnawnia",
"order": 10,
"title": "novice"
},
{
"id": "town_of_gnawnia",
"name": "Town of Gnawnia",
"article": "the Town of Gnawnia",
"image": "https://www.mousehuntgame.com/images/environments/231c9b4d583f98c365efcbbd50fddb76_v2.jpg?cv=2",
"headerImage": "https://www.mousehuntgame.com/images/environments/4f61abe7975e99a3c780c5fd895dc07c_v2.jpg?cv=2",
"region": "gnawnia",
"order": 11,
"title": "recruit"
},
...
]
Get event environments
Properties
- Name
id
TypestringDescriptionThe environment ID.
- Name
name
TypestringDescriptionThe environment name.
- Name
article
TypestringDescriptionThe environment name with article.
- Name
image
TypestringDescriptionThe environment image.
- Name
headerImage
TypestringDescriptionThe environment header image.
- Name
region
TypestringDescriptionThe environment region.
- Name
order
TypeintegerDescriptionThe environment order.
- Name
event
TypestringDescriptionThe associated event.
Request
GET
https://api.mouse.rip/environments-eventconst eventEnvironments = await fetch('https://api.mouse.rip/environments-event')
console.log(eventEnvironments)
Response
[
{
"id": "winter_hunt_grove",
"name": "Cinnamon Hill",
"image": "https://www.mousehuntgame.com/images/environments/9116f87ec4f9ef3be13a1a833a61aec4.jpg",
"region": "events-gwh",
"event": "gwh"
},
...
]
Get M400 locations
Get all M400 locations and associated mice.
Properties
- Name
location
TypestringDescriptionThe location ID.
- Name
mice
TypearrayDescriptionThe array of mice in the location.
Request
GET
https://api.mouse.rip/m400-locationsconst m400Locations = await fetch('https://api.mouse.rip/m400-locations')
console.log(m400Locations)
Response
{
"balacks_cove": [
"Balack's Cove",
"Derr Lich",
"Elub Lich",
"Nerg Lich"
],
...
}