Samp
Heavy Gaming-FR - Happy New Year 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/7411626json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7411626,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 9000035,
"owner": 100965,
"boosts": 1,
"last_offline": 1750457066,
"score": 0,
"last_online": 1737711642,
"icon": null,
"name": "Heavy Gaming-FR - Happy New Year",
"connect": null,
"request": null,
"map": "HG-FR (V1.7)",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "ID",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1737260376,
"last_update": 1750457066,
"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": 933,
"language": "id",
"parked": true,
"app": {
"id": 168,
"steam_id": 9000035,
"name": "Samp",
"url": "samp"
},
"server_owner": {
"username": "RizkyJunanto",
"avatar": "8933ef35-ae7e-43d9-86e1-a6edeba4f3ad.jpg",
"last_online": 1737260444
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/7411626");
$data = json_decode($json, true);
var_dump($data);