Insurgency: Sandstorm
CCSG#2 For MLF|AI1.0|无火力支援|30次复活|Q群:530148180 için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10543947json
{
"response": {
"steam_id": "85568392935597213",
"domain": null,
"id": 10543947,
"ip": "81.68.229.65",
"port": 21011,
"query": 21012,
"color": 0,
"city": "Shanghai",
"description": null,
"game": 581320,
"owner": null,
"boosts": 1,
"last_offline": 1776370421,
"score": 0,
"last_online": 1776447169,
"icon": null,
"name": "CCSG#2 For MLF|AI1.0|无火力支援|30次复活|Q群:530148180",
"connect": "81.68.229.65:21011",
"request": "81.68.229.65:21012",
"map": "Ministry",
"gamemode": "Checkpoint",
"version": "1.1.0.0",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1762521352,
"last_update": 1776447169,
"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": 237,
"language": "zh",
"parked": false,
"app": {
"id": 23489,
"steam_id": 581320,
"name": "Insurgency: Sandstorm",
"url": "insurgency-sandstorm"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10543947");
$data = json_decode($json, true);
var_dump($data);