Featherfloofs TDM 2 için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286302717597696",
"domain": null,
"id": 11638359,
"ip": "51.83.139.120",
"port": 7377,
"query": 23015,
"project_id": null,
"color": 0,
"city": "Wroclaw",
"description": null,
"game": 321360,
"owner": null,
"boosts": 1,
"last_offline": 1780777417,
"last_online": 1779969092,
"icon": null,
"name": "Featherfloofs TDM 2",
"connect": "51.83.139.120:7377",
"request": "51.83.139.120:23015",
"map": "pc-utilitybase",
"gamemode": "PCTeamDeathMatchGame",
"version": "3.3.2",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779917240,
"last_update": 1780777417,
"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": 62,
"language": "pl",
"parked": false,
"app": {
"id": 4384,
"steam_id": 321360,
"name": "Primal Carnage: Extinction",
"url": "primal-carnage-extinction"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11638359");
$data = json_decode($json, true);
var_dump($data);