Insurgency: Sandstorm
乌拉-[炸]这里好像有颗雷欸[0.8] için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/1758076json
{
"response": {
"steam_id": "85568392924030384",
"domain": null,
"id": 1758076,
"ip": "111.53.190.148",
"port": 7775,
"query": 7776,
"color": 0,
"city": "Liuxiang",
"description": "",
"game": 581320,
"owner": null,
"boosts": 1,
"last_offline": 1773943320,
"score": null,
"last_online": 1776436256,
"icon": null,
"name": "乌拉-[炸]这里好像有颗雷欸[0.8]",
"connect": "111.53.190.148:7775",
"request": "111.53.190.148:7776",
"map": "Precinct",
"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": 1699456121,
"last_update": 1776436256,
"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": 75,
"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/1758076");
$data = json_decode($json, true);
var_dump($data);