American Truck Simulator
API für [CLT] Camioneros Latinos 2 | camioneroslatinos.com
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/9997909json
{
"response": {
"steam_id": "85568392935115494",
"domain": null,
"id": 9997909,
"ip": "207.58.153.165",
"port": 27019,
"query": 27020,
"color": 0,
"city": "Manassas",
"description": null,
"game": 270880,
"owner": null,
"boosts": 1,
"last_offline": 1775742126,
"score": 0,
"last_online": 1776015641,
"icon": null,
"name": "[CLT] Camioneros Latinos 2 | camioneroslatinos.com",
"connect": "207.58.153.165:27019",
"request": "207.58.153.165:27020",
"map": "usa",
"gamemode": "Nuestra comunidad: CAMIONEROSLATINOS.COM",
"version": null,
"numplayers": 7,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 74,
"add_date": 1754959896,
"last_update": 1776015641,
"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": 14,
"language": "en",
"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/9997909");
$data = json_decode($json, true);
var_dump($data);