国服28416丨DLC浮沙 için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286471889867777",
"domain": null,
"id": 11575309,
"ip": "180.188.24.90",
"port": 24241,
"query": 24242,
"project_id": null,
"color": 0,
"city": "Taizhou",
"description": null,
"game": 2646460,
"owner": null,
"boosts": 1,
"last_offline": 1780380851,
"last_online": 1780689754,
"icon": null,
"name": "国服28416丨DLC浮沙",
"connect": "180.188.24.90:24241",
"request": "180.188.24.90:24242",
"map": "DLC_Level01_Main",
"gamemode": "00",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 70,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779356786,
"last_update": 1780689754,
"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": 3092,
"language": "zh",
"parked": false,
"app": {
"id": 1625562,
"steam_id": 2646460,
"name": "Soulmask",
"url": "soulmask"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11575309");
$data = json_decode($json, true);
var_dump($data);