KGB_SOULS_Sands için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": 90286488960037900,
"domain": null,
"id": 11575302,
"ip": "142.54.169.138",
"port": 8778,
"query": 27019,
"color": 0,
"city": "Kansas City",
"description": null,
"game": 2646460,
"owner": null,
"boosts": 1,
"last_offline": 1780335342,
"last_online": 1780659106,
"icon": null,
"name": "KGB_SOULS_Sands",
"connect": "142.54.169.138:8778",
"request": "142.54.169.138:27019",
"map": "DLC_Level01_Main",
"gamemode": "00",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779356785,
"last_update": 1780659106,
"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": 3025,
"language": "en",
"parked": false,
"app": {
"id": 1625562,
"steam_id": 2646460,
"name": "Soulmask",
"url": "soulmask"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11575302");
$data = json_decode($json, true);
var_dump($data);