Half-Life
Pheek.net HL #3 [LLHL/Anything][HL/AG XPlay] için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/4729329json
{
"response": {
"steam_id": null,
"domain": null,
"id": 4729329,
"ip": "181.192.79.104",
"port": 27022,
"query": 27022,
"color": 0,
"city": "Dolores",
"description": "",
"game": 70,
"owner": null,
"boosts": 1,
"last_offline": 1776346426,
"score": 0,
"last_online": 1776445330,
"icon": null,
"name": "Pheek.net HL #3 [LLHL/Anything][HL/AG XPlay]",
"connect": "181.192.79.104:27022",
"request": "181.192.79.104:27022",
"map": "combat2",
"gamemode": "AG TDM II",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "AR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1717885100,
"last_update": 1776445330,
"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": 164,
"language": "es",
"parked": false,
"app": {
"id": 9,
"steam_id": 70,
"name": "Half-Life",
"url": "half-life"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/4729329");
$data = json_decode($json, true);
var_dump($data);