No More Room in Hell
API pentru [EU]Avalonia.SK|#03|Inf.Ammo|Ranking|All Maps|
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/6540010json
{
"response": {
"steam_id": "90284314637063184",
"domain": null,
"id": 6540010,
"ip": "51.195.61.238",
"port": 25003,
"query": 25003,
"color": 0,
"city": "Limburg an der Lahn",
"description": null,
"game": 224260,
"owner": null,
"boosts": 1,
"last_offline": 1775399529,
"score": 0,
"last_online": 1776208812,
"icon": null,
"name": "[EU]Avalonia.SK|#03|Inf.Ammo|Ranking|All Maps|",
"connect": "51.195.61.238:25003",
"request": "51.195.61.238:25003",
"map": "mg_farm",
"gamemode": "No More Room in Hell",
"version": "1.1.4.2",
"numplayers": 5,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 65,
"add_date": 1730545574,
"last_update": 1776208812,
"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": 15,
"language": "de",
"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": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/6540010");
$data = json_decode($json, true);
var_dump($data);