娅娅game 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286501001670666",
"domain": null,
"id": 11722645,
"ip": "103.91.208.226",
"port": 6272,
"query": 6487,
"color": 0,
"city": "Jinan",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780348447,
"last_online": 1780408241,
"icon": null,
"name": "娅娅game",
"connect": "103.91.208.226:6272",
"request": "103.91.208.226:6487",
"map": "VRisingWorld",
"gamemode": "7d185630-c9b2-48fb-a754-952383cc46e9",
"version": "0.0.0.1",
"numplayers": 6,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": true,
"country": "CN",
"status": true,
"votes": 0,
"points": 43,
"add_date": 1780324538,
"last_update": 1780408241,
"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": 67,
"language": "zh",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11722645");
$data = json_decode($json, true);
var_dump($data);