РУССКИЙ СЛАБЫЙ МАРАЛЬНО ДЛЯ ММЦЖЫ� 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 239,
"fps_avg": 239,
"entities_count": 7862,
"world_seed": 1337,
"world_size": 1350,
"steam_id": "90286498707689496",
"domain": null,
"id": 11644985,
"ip": "65.108.41.94",
"port": 60424,
"query": 60425,
"color": 0,
"city": "Helsinki",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780177440,
"last_online": 1780553559,
"icon": null,
"name": "РУССКИЙ СЛАБЫЙ МАРАЛЬНО ДЛЯ ММЦЖЫ�",
"connect": "65.108.41.94:60424",
"request": "65.108.41.94:60425",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780177440,
"last_update": 1780553559,
"banned": false,
"wipe": 1780358158,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 9378,
"language": "fi",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11644985");
$data = json_decode($json, true);
var_dump($data);