Insurgency: Modern Infantry Combat
KekBox IMIC Revival Server | RTV için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10567511json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10567511,
"ip": "108.181.171.247",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Dallas",
"description": null,
"game": 17700,
"owner": null,
"boosts": 1,
"last_offline": 1774237872,
"score": 0,
"last_online": 1776203457,
"icon": null,
"name": "KekBox IMIC Revival Server | RTV",
"connect": "108.181.171.247:27015",
"request": "108.181.171.247:27015",
"map": "ins_baghdad",
"gamemode": "Insurgency",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1762594112,
"last_update": 1776203457,
"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": 1,
"language": "en",
"parked": false,
"app": {
"id": 58,
"steam_id": 17700,
"name": "Insurgency: Modern Infantry Combat",
"url": "insurgency-modern-infantry-combat"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10567511");
$data = json_decode($json, true);
var_dump($data);