API для Sincerity Thailand - Genesis Part 2 - PvE X10 NO MOD - (v358.24
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": 90286794928237580,
"domain": null,
"id": 1741450,
"ip": "103.22.181.9",
"port": 7813,
"query": 27042,
"project_id": null,
"color": 0,
"city": "Pak Kret",
"description": "",
"game": 346110,
"owner": null,
"boosts": 1,
"last_offline": 1781011475,
"last_online": 1781020861,
"icon": null,
"name": "Sincerity Thailand - Genesis Part 2 - PvE X10 NO MOD - (v358.24",
"connect": "103.22.181.9:7813",
"request": "103.22.181.9:27042",
"map": "Gen2",
"gamemode": "TestGameMode_C",
"version": "1.0.0.0",
"numplayers": 2,
"maxplayers": 88,
"bots": 0,
"secured": true,
"private": false,
"country": "TH",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1699430233,
"last_update": 1781020861,
"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": 2209,
"language": "th",
"parked": false,
"app": {
"id": 67,
"steam_id": 346110,
"name": "ARK: Survival Evolved",
"url": "ark-survival-evolved"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/1741450");
$data = json_decode($json, true);
var_dump($data);