API для Omega - Scorched Earth - S+, Dino Storage, SeedFarm, Stackin -
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286731739242506",
"domain": null,
"id": 11638964,
"ip": "65.108.71.248",
"port": 7779,
"query": 27017,
"project_id": null,
"color": 0,
"city": "Helsinki",
"description": null,
"game": 346110,
"owner": null,
"boosts": 1,
"last_offline": 1780870453,
"last_online": 1780940540,
"icon": null,
"name": "Omega - Scorched Earth - S+, Dino Storage, SeedFarm, Stackin -",
"connect": "65.108.71.248:7779",
"request": "65.108.71.248:27017",
"map": "ScorchedEarth",
"gamemode": "TestGameMode_C",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779917939,
"last_update": 1780940540,
"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": 11602,
"language": "fi",
"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/11638964");
$data = json_decode($json, true);
var_dump($data);