AMS1-0QTYV1 için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": 90286520465005580,
"domain": null,
"id": 3393684,
"ip": "212.102.34.25",
"port": 28501,
"query": 27501,
"color": 0,
"city": "Amsterdam",
"description": "",
"game": 374280,
"owner": null,
"boosts": 1,
"last_offline": 1780629802,
"last_online": 1780416618,
"icon": null,
"name": "AMS1-0QTYV1",
"connect": "212.102.34.25:28501",
"request": "212.102.34.25:27501",
"map": "12",
"gamemode": "Contract Wars 2.0 Standalone",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1710364342,
"last_update": 1780629802,
"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": 1943,
"language": "nl",
"parked": false,
"app": {
"id": 6495,
"steam_id": 374280,
"name": "Hired Ops",
"url": "hired-ops"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/3393684");
$data = json_decode($json, true);
var_dump($data);