Servidor Agrupacion de Combate Prometeo için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286722400268311",
"domain": null,
"id": 10464786,
"ip": "77.237.243.29",
"port": 2312,
"query": 2313,
"project_id": null,
"color": 0,
"city": "Lauterbourg",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1780832657,
"last_online": 1780888857,
"icon": null,
"name": "Servidor Agrupacion de Combate Prometeo",
"connect": "77.237.243.29:2312",
"request": "77.237.243.29:2313",
"map": "LostIsland",
"gamemode": "Entrenamiento_ACP_Krasnorus",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 35,
"bots": 0,
"secured": false,
"private": true,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1760475688,
"last_update": 1780888857,
"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": 1391,
"language": "fr",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10464786");
$data = json_decode($json, true);
var_dump($data);