[RU] New Horizon ARK PvE X3 (steam/epic)(ScorchedEarth) - (v361 için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286464516717597",
"domain": null,
"id": 1531891,
"ip": "46.22.246.120",
"port": 7387,
"query": 27111,
"color": 0,
"city": "Zheleznogorsk",
"description": "",
"game": 346110,
"owner": null,
"boosts": 1,
"last_offline": 1780279450,
"last_online": 1780351916,
"icon": null,
"name": "[RU] New Horizon ARK PvE X3 (steam/epic)(ScorchedEarth) - (v361",
"connect": "46.22.246.120:7387",
"request": "46.22.246.120:27111",
"map": "ScorchedEarth",
"gamemode": "TestGameMode_C",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 70,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1697581168,
"last_update": 1780351916,
"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": 3733,
"language": "ru",
"parked": false,
"app": {
"id": 67,
"steam_id": 346110,
"name": "ARK: Survival Evolved",
"url": "ark-survival-evolved"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/1531891");
$data = json_decode($json, true);
var_dump($data);