Portal 2
agonzo320 için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11394902json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11394902,
"ip": "152.36.187.136",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Bay Saint Louis",
"description": null,
"game": 620,
"owner": null,
"boosts": 1,
"last_offline": 1777553546,
"score": 0,
"last_online": 1777509011,
"icon": null,
"name": "agonzo320",
"connect": "152.36.187.136:27015",
"request": "152.36.187.136:27015",
"map": "mp_coop_lobby_2",
"gamemode": "Portal 2 Coop",
"version": "2.0.0.1",
"numplayers": 0,
"maxplayers": 33,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774597199,
"last_update": 1777553546,
"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": 2,
"language": "en",
"parked": false,
"app": {
"id": 105,
"steam_id": 620,
"name": "Portal 2",
"url": "portal-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11394902");
$data = json_decode($json, true);
var_dump($data);