American Truck Simulator
API для [CLT] Camioneros Latinos 5 | Mapa REFORMA
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/9402879json
{
"response": {
"steam_id": "85568392932935492",
"domain": null,
"id": 9402879,
"ip": "207.58.153.165",
"port": 27025,
"query": 27026,
"color": 0,
"city": "Manassas",
"description": null,
"game": 270880,
"owner": null,
"boosts": 1,
"last_offline": 1775742126,
"score": 0,
"last_online": 1776029446,
"icon": null,
"name": "[CLT] Camioneros Latinos 5 | Mapa REFORMA",
"connect": "207.58.153.165:27025",
"request": "207.58.153.165:27026",
"map": "usa",
"gamemode": "Nuestra comunidad: CAMIONEROSLATINOS.COM",
"version": null,
"numplayers": 2,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 35,
"add_date": 1748181184,
"last_update": 1776029446,
"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": 39,
"language": "en",
"parked": false,
"app": {
"id": 2949,
"steam_id": 270880,
"name": "American Truck Simulator",
"url": "american-truck-simulator"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/9402879");
$data = json_decode($json, true);
var_dump($data);