API pentru [EU] Vanilla | Duo | BiWeekly | PlayFair | Just Wiped
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 198,
"fps_avg": 197,
"entities_count": 103868,
"world_seed": 781573423,
"world_size": 4250,
"steam_id": "90286427539664896",
"domain": null,
"id": 11305120,
"ip": "5.252.100.56",
"port": 27025,
"query": 27026,
"color": 0,
"city": "Frankfurt am Main",
"description": "![[NRG] GRAVEL PIT | TRIO | PvP | NPCs | x2 | QUEST](https://files.catbox.moe/vja7yf.png)\nErlebe [NRG] Earth Apocalypse mit PvE, PvP-Zonen, mehr NPCs und ZLevel. Jetzt beitreten und Community entdecken: https://discord.gg/HufWNtzjZx",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780587812,
"last_online": 1780397007,
"icon": null,
"name": "[EU] Vanilla | Duo | BiWeekly | PlayFair | Just Wiped",
"connect": "5.252.100.56:27025",
"request": "5.252.100.56:27026",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774592879,
"last_update": 1780587812,
"banned": false,
"wipe": 1779372771,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10916,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11305120");
$data = json_decode($json, true);
var_dump($data);