API für ! BR Lobby Infinito ATS 4
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "85568392936194022",
"domain": null,
"id": 11632166,
"ip": "168.75.90.13",
"port": 28021,
"query": 28022,
"color": 0,
"city": "São Paulo",
"description": null,
"game": 270880,
"owner": null,
"boosts": 1,
"last_offline": 1780098212,
"last_online": 1780123962,
"icon": null,
"name": "! BR Lobby Infinito ATS 4",
"connect": "168.75.90.13:28021",
"request": "168.75.90.13:28022",
"map": "usa",
"gamemode": "Acesse lobbyinfinito.shop",
"version": null,
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": false,
"country": "BR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779916773,
"last_update": 1780123962,
"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": 78,
"language": "pt",
"parked": false,
"app": {
"id": 2949,
"steam_id": 270880,
"name": "American Truck Simulator",
"url": "american-truck-simulator"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11632166");
$data = json_decode($json, true);
var_dump($data);