Automobilista 2
API für {[GLI AUTOMOBILISTI]} PASSAT CL.B - GATEWAY ROAD SHORT #JR
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/9742876json
{
"response": {
"steam_id": 90284611236458510,
"domain": null,
"id": 9742876,
"ip": "45.14.186.108",
"port": 26018,
"query": 26028,
"color": 0,
"city": "Sant'Agata",
"description": null,
"game": 1066890,
"owner": null,
"boosts": 1,
"last_offline": 1776624147,
"score": 0,
"last_online": 1776523946,
"icon": null,
"name": "{[GLI AUTOMOBILISTI]} PASSAT CL.B - GATEWAY ROAD SHORT #JR",
"connect": "45.14.186.108:26018",
"request": "45.14.186.108:26028",
"map": "Gateway_RC1",
"gamemode": "Automobilista 2",
"version": "1.0.0.93",
"numplayers": 8,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": true,
"country": "IT",
"status": false,
"votes": 0,
"points": 30,
"add_date": 1752178776,
"last_update": 1776624147,
"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": 162,
"language": "it",
"parked": false,
"app": {
"id": 48189,
"steam_id": 1066890,
"name": "Automobilista 2",
"url": "automobilista-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/9742876");
$data = json_decode($json, true);
var_dump($data);