API for Motorist Utopia [Future RP server in development]
JSON for programs, websites and more
text
json
{
"response": {
"steam_id": "90286886097941525",
"domain": null,
"id": 11492063,
"ip": "209.126.4.77",
"port": 30100,
"query": 30115,
"project_id": null,
"color": 0,
"city": "St Louis",
"description": "[{\"id\":\"XtuffpC6II\",\"type\":\"paragraph\",\"data\":{\"text\":\"Welcome to MU! This will be a RP heavy/recommended server. However for now, please read the temporary rules in the admin tab. Thanks. Rules of the Server. 1. Do not be belligerent or purposefully rude to other players. 2. Follow all of staff's instructions when given. 3. PD and custom PD cruisers are for authorized individuals only. 4. Be kind to others and not take all of a resource if someone got there first. 5. Despawn unused vehicles when not in use. It helps server performance. 6. If pulled over my a PD player, if you decide to run you aren't allowed to flee on foot. \"}}]",
"game": 1369670,
"owner": 192959,
"boosts": 1,
"last_offline": 1780009419,
"last_online": 1781239818,
"icon": null,
"name": "Motorist Utopia [Future RP server in development]",
"connect": "209.126.4.77:30100",
"request": "209.126.4.77:30115",
"map": null,
"gamemode": "Unreal Test!",
"version": "0.7.18+1",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 1,
"points": 91,
"add_date": 1778059178,
"last_update": 1781239818,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3,
"language": "en",
"parked": false,
"app": {
"id": 1564980,
"steam_id": 1369670,
"name": "Motor Town: Behind The Wheel",
"url": "motor-town-behind-the-wheel"
},
"server_owner": {
"username": "hunter_richardson",
"avatar": "27cf07f6-fb5f-409d-95ea-1a38dda6ff24.jpg"
},
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11492063");
$data = json_decode($json, true);
var_dump($data);