s&box
🦊 FOXITO RP FR | Communauté Active | Débutants Acceptés � 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11492216json
{
"response": {
"revision": "239202",
"protocol": 1101,
"gameident": "cider.cityrp",
"mapident": "rpdowntown3t",
"hidden": false,
"api": 25,
"steam_id": "90285714198462472",
"domain": null,
"id": 11492216,
"ip": "194.69.160.158",
"port": 37027,
"query": 37028,
"color": 0,
"city": "City of London",
"description": null,
"game": 590830,
"owner": null,
"boosts": 1,
"last_offline": 1778703182,
"score": 0,
"last_online": 1778694675,
"icon": null,
"name": "🦊 FOXITO RP FR | Communauté Active | Débutants Acceptés �",
"connect": "194.69.160.158:37027",
"request": "194.69.160.158:37028",
"map": "rpdowntown3t",
"gamemode": "CityRP",
"version": "26.05.06a",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1778272661,
"last_update": 1778703182,
"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": 89,
"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/11492216");
$data = json_decode($json, true);
var_dump($data);