austi on DESKTOP-RIEUFHR için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286661882269719",
"domain": null,
"id": 11712994,
"ip": "144.126.170.57",
"port": 2302,
"query": 2303,
"project_id": null,
"color": 0,
"city": "Stigler",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1780780398,
"last_online": 1780728640,
"icon": null,
"name": "austi on DESKTOP-RIEUFHR",
"connect": "144.126.170.57:2302",
"request": "144.126.170.57:2303",
"map": "juju_sahatra",
"gamemode": "Tv%20Operator%20AC-130",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780301100,
"last_update": 1780780398,
"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": 5592,
"language": "en",
"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/11712994");
$data = json_decode($json, true);
var_dump($data);