API pentru [EU/NO]Galehuset PVE | BiWeekly | Raids | Events | ++
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"modded": true,
"fps": 57,
"fps_avg": 57,
"entities_count": 129034,
"world_seed": 1234495862,
"world_size": 4500,
"steam_id": "90286992080110602",
"domain": null,
"id": 11781719,
"ip": "65.21.78.175",
"port": 28000,
"query": 28001,
"project_id": null,
"color": 0,
"city": "Helsinki",
"description": "![[EU/NO]Galehuset PVE | BiWeekly | Raids | Events | ++](https://www.haukas.nu/serverheader.png)\nPVE Server with BiWeekly Wipeschedule and friendly Community \r\nSkilltree with custom skills and perks \r\nRaidable Bases | NPCs in all monuments | Roaming Zombies | Bossmonsters \r\nEvents: \r\nConvoy, Armored Train,Airfield Event, Powerplant Event,\r\nQoL Plugins",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781413443,
"last_online": 1781434231,
"icon": null,
"name": "[EU/NO]Galehuset PVE | BiWeekly | Raids | Events | ++",
"connect": "65.21.78.175:28000",
"request": "65.21.78.175:28001",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1781376781,
"last_update": 1781434231,
"banned": false,
"wipe": 1781056827,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6156,
"language": "fi",
"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/11781719");
$data = json_decode($json, true);
var_dump($data);