Euro Truck Simulator 2
API für [RU] MoroZ & Co #HUNGARY
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/9402519json
{
"response": {
"steam_id": null,
"domain": null,
"id": 9402519,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 227300,
"owner": 98165,
"boosts": 1,
"last_offline": 1764568863,
"score": 0,
"last_online": 1763632213,
"icon": null,
"name": "[RU] MoroZ & Co #HUNGARY",
"connect": null,
"request": null,
"map": "/map/hungary.mbd",
"gamemode": "TRUCKERSMOROZ.RU",
"version": null,
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1748180838,
"last_update": 1764568863,
"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": 1246,
"language": "ru",
"parked": true,
"app": {
"id": 1980,
"steam_id": 227300,
"name": "Euro Truck Simulator 2",
"url": "euro-truck-simulator-2"
},
"server_owner": {
"username": "Denis96RUS",
"avatar": "aac099df-311d-4c18-a011-2399a1b137e5.jpg",
"last_online": 1773248376
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/9402519");
$data = json_decode($json, true);
var_dump($data);