Insurgency: Sandstorm
中东美食城[无限苹果供应]经典白给 için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10998175json
{
"response": {
"steam_id": 85568392935964670,
"domain": null,
"id": 10998175,
"ip": "110.42.10.243",
"port": 21741,
"query": 21743,
"color": 0,
"city": "Ningbo",
"description": null,
"game": 581320,
"owner": null,
"boosts": 1,
"last_offline": 1775648530,
"score": 0,
"last_online": 1776394883,
"icon": null,
"name": "中东美食城[无限苹果供应]经典白给",
"connect": "110.42.10.243:21741",
"request": "110.42.10.243:21743",
"map": "Farmhouse",
"gamemode": "Checkpoint",
"version": "1.1.0.0",
"numplayers": 0,
"maxplayers": 15,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1769906360,
"last_update": 1776394883,
"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": 304,
"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/10998175");
$data = json_decode($json, true);
var_dump($data);