🏰 MoatRP.com • 2X Weed • Custom • Hiring Staff • Eve 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"revision": "240635",
"protocol": 1102,
"gameident": "dxura.rp",
"mapident": "rpdowntown3t",
"hidden": false,
"api": 25,
"steam_id": "90286553489568776",
"domain": null,
"id": 11492492,
"ip": "194.69.160.158",
"port": 37037,
"query": 37038,
"color": 0,
"city": "City of London",
"description": null,
"game": 590830,
"owner": null,
"boosts": 1,
"last_offline": 1779849800,
"last_online": 1780591424,
"icon": null,
"name": "🏰 MoatRP.com • 2X Weed • Custom • Hiring Staff • Eve",
"connect": "194.69.160.158:37037",
"request": "194.69.160.158:37038",
"map": "thieves.rpdowntown3t",
"gamemode": "DXRP",
"version": "240635",
"numplayers": 0,
"maxplayers": 128,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1778837630,
"last_update": 1780591424,
"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": 47,
"language": "en",
"parked": false,
"app": {
"id": 1646716,
"steam_id": 590830,
"name": "s&box",
"url": "sbox"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11492492");
$data = json_decode($json, true);
var_dump($data);