API для 7月新档 魔改中心 10倍PVP 搜白猫
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1785283310,
"app": {
"id": 67,
"name": "ARK: Survival Evolved",
"steam_id": 346110,
"url": "ark-survival-evolved"
},
"color": 0,
"connect": "150.139.141.156:11020",
"country": "CN",
"domain": null,
"game": 346110,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 12934178,
"ip": "150.139.141.156",
"language": "zh",
"last_update": 1794753966,
"map": "ShooterEntry",
"maxplayers": 70,
"name": "7月新档 魔改中心 10倍PVP 搜白猫",
"numplayers": 10,
"official": null,
"points": 38,
"port": 11020,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 21020,
"request": "150.139.141.156:21020",
"secured": true,
"status": true,
"steam_id": "90295973489397772",
"version": "361.5",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Цзинань",
"description": null,
"disabled_modules": [],
"gamemode": "EntryLevelMenuGame_C",
"hidden": false,
"last_offline": 1794725061,
"last_online": 1794753966,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 1291,
"wipe_period": null,
"ModId_l": "0",
"P2PADDR": "90295973489397772",
"P2PPORT": "11020",
"LEGACY_i": "0",
"DayTime_s": "0",
"OWNINGNAME": "90295973489397772",
"listentype": "d",
"environment": "w",
"Networking_i": "0",
"SESSIONFLAGS": "683",
"a2s_protocol": 17,
"MATCHTIMEOUT_f": "120.000000",
"NUMOPENPUBCONN": "60",
"SESSIONISPVE_i": "0",
"HASACTIVEMODS_i": "0",
"OFFICIALSERVER_i": "0",
"SEARCHKEYWORDS_s": "Custom",
"ServerPassword_b": "false",
"players_complete": true,
"CUSTOMSERVERNAME_s": "7月新档 魔改中心 10倍pvp 搜白猫",
"SERVERUSESBATTLEYE_b": "true"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/12934178");
$data = json_decode($json, true);
var_dump($data);