No More Room in Hell
(GwG) Public Server için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10292423json
{
"response": {
"steam_id": "90283677830661135",
"domain": null,
"id": 10292423,
"ip": "73.247.252.41",
"port": 27014,
"query": 27014,
"color": 0,
"city": "Oak Park",
"description": null,
"game": 224260,
"owner": null,
"boosts": 1,
"last_offline": 1775232731,
"score": 0,
"last_online": 1776208854,
"icon": null,
"name": "(GwG) Public Server",
"connect": "73.247.252.41:27014",
"request": "73.247.252.41:27014",
"map": "nmo_underground",
"gamemode": "No More Room in Hell",
"version": "1.1.4.2",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1758120188,
"last_update": 1776208854,
"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": 127,
"language": "en",
"parked": false,
"app": {
"id": 6,
"steam_id": 224260,
"name": "No More Room in Hell",
"url": "no-more-room-in-hell"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10292423");
$data = json_decode($json, true);
var_dump($data);