API dla PvE ARK DREAM modified maps x100 Pve[RU][EU] PVE
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": "90286854112145419",
"domain": null,
"id": 1502795,
"ip": "95.174.124.79",
"port": 7156,
"query": 24423,
"project_id": null,
"color": 0,
"city": "Taganrog",
"description": "",
"game": 346110,
"owner": null,
"boosts": 1,
"last_offline": 1781120073,
"last_online": 1781295064,
"icon": null,
"name": "PvE ARK DREAM modified maps x100 Pve[RU][EU] PVE",
"connect": "95.174.124.79:7156",
"request": "95.174.124.79:24423",
"map": "TheIsland",
"gamemode": "TestGameMode_C",
"version": "361.7",
"numplayers": 0,
"maxplayers": 70,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1697462688,
"last_update": 1781295064,
"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": 3736,
"language": "ru",
"parked": false,
"app": {
"id": 67,
"steam_id": 346110,
"name": "ARK: Survival Evolved",
"url": "ark-survival-evolved"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/1502795");
$data = json_decode($json, true);
var_dump($data);