Euro Truck Simulator 2
API für THE ROCKET TRG ( TRG LOGISTICS OFFICIAL 128 ) MAPA RBR
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10881733json
{
"response": {
"steam_id": "85568392935771553",
"domain": null,
"id": 10881733,
"ip": "45.157.157.113",
"port": 27015,
"query": 27016,
"color": 0,
"city": "São Paulo",
"description": null,
"game": 227300,
"owner": null,
"boosts": 1,
"last_offline": 1775389331,
"score": 0,
"last_online": 1776798163,
"icon": null,
"name": "THE ROCKET TRG ( TRG LOGISTICS OFFICIAL 128 ) MAPA RBR",
"connect": "45.157.157.113:27015",
"request": "45.157.157.113:27016",
"map": "europe",
"gamemode": "VTC TRG LOGISTICS RBR MAP ( SERVIDOR DEDICADO 128 )",
"version": null,
"numplayers": 0,
"maxplayers": 128,
"bots": 0,
"secured": false,
"private": false,
"country": "BR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1768320519,
"last_update": 1776798163,
"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": 650,
"language": "pt",
"parked": false,
"app": {
"id": 1980,
"steam_id": 227300,
"name": "Euro Truck Simulator 2",
"url": "euro-truck-simulator-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10881733");
$data = json_decode($json, true);
var_dump($data);