API для 潜艇的塔科夫与载具pve养老加2|死亡不掉高爆率
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "85568392932265437",
"domain": null,
"id": 11630762,
"ip": "180.188.24.90",
"port": 24711,
"query": 24711,
"color": 0,
"city": "Taizhou",
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1780390473,
"last_online": 1780601469,
"icon": "https://s1.ax1x.com/2023/07/21/pCb1Ob9.jpg",
"name": "潜艇的塔科夫与载具pve养老加2|死亡不掉高爆率",
"connect": "180.188.24.90:24711",
"request": "180.188.24.90:24711",
"map": "California2",
"gamemode": "听说看起来很像但其实并不是私服|�",
"version": "3.26.3.2",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779916704,
"last_update": 1780601469,
"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": 1242,
"language": "zh",
"parked": false,
"app": {
"id": 48,
"steam_id": 304930,
"name": "Unturned",
"url": "unturned"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11630762");
$data = json_decode($json, true);
var_dump($data);