Alien Swarm: Reactive Drop
BUG camp için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11394471json
{
"response": {
"steam_id": "90284532523560972",
"domain": null,
"id": 11394471,
"ip": "218.93.206.202",
"port": 27471,
"query": 27471,
"color": 0,
"city": "Nanjing",
"description": null,
"game": 563560,
"owner": null,
"boosts": 1,
"last_offline": 1776281514,
"score": 0,
"last_online": 1776393653,
"icon": null,
"name": "BUG camp",
"connect": "218.93.206.202:27471",
"request": "218.93.206.202:27471",
"map": "ASI-Jac1-LandingBay_01",
"gamemode": "Alien Swarm: Reactive Drop",
"version": "7.1.4.6",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774596960,
"last_update": 1776393653,
"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": 35,
"language": "zh",
"parked": false,
"app": {
"id": 176,
"steam_id": 563560,
"name": "Alien Swarm: Reactive Drop",
"url": "alien-swarm-reactive-drop"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11394471");
$data = json_decode($json, true);
var_dump($data);