Cross Swords - (v560.3) için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286621527053339",
"domain": null,
"id": 11383959,
"ip": "154.53.36.33",
"port": 38300,
"query": 38315,
"project_id": null,
"color": 0,
"city": "Orangeburg",
"description": null,
"game": 834910,
"owner": null,
"boosts": 1,
"last_offline": 1780693994,
"last_online": 1780648880,
"icon": null,
"name": "Cross Swords - (v560.3)",
"connect": "154.53.36.33:38300",
"request": "154.53.36.33:38315",
"map": "Ocean",
"gamemode": "TestGameMode_C",
"version": "560.3",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774596121,
"last_update": 1780693994,
"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": 1222,
"language": "en",
"parked": false,
"app": {
"id": 23488,
"steam_id": 834910,
"name": "ATLAS",
"url": "atlas"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11383959");
$data = json_decode($json, true);
var_dump($data);