API pentru [NA] Hive Mind Gaming |PVE/PVP|NPCRaidBases|Zombies|RaidProtect
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 123209,
"world_seed": 2104895217,
"world_size": 4250,
"steam_id": "90286584344362014",
"domain": null,
"id": 4474556,
"ip": "15.204.141.55",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Reston",
"description": "![[NA] Hive Mind Gaming |PVE/PVP|NPCRaidBases|Zombies|RaidProtect](https://cdn.discordapp.com/attachments/993516600848285877/1085685026592673852/HMGrust.png)\nThis fun and friendly PVE/PVP server with an experienced and active group of admins offers something for all kinds of players, all in one community:\r\n\r\n - NPC Raidable Bases - 50 different base designs with 5 different skill levels\r\n - Zombies at every monument and patrol heli crash \r\n - Virtual Quarries to gather stone, metal, sulfur and HQM\r\n - Fixed PVP Zones at select monuments\r\n - Dynamic PVP Zones at patrol heli crash and daily airdrops \r\n - Raid Protection (online and up to 36 hours each time you go offline)\r\n - Server Rewards and in-game shop\r\n - Custom quests\r\n - Backpacks for expanded inventory space",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780556669,
"last_online": 1780590036,
"icon": null,
"name": "[NA] Hive Mind Gaming |PVE/PVP|NPCRaidBases|Zombies|RaidProtect",
"connect": "15.204.141.55:28015",
"request": "15.204.141.55:28017",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 2,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1716821031,
"last_update": 1780590036,
"banned": false,
"wipe": 1779394092,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2816,
"language": "en",
"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/4474556");
$data = json_decode($json, true);
var_dump($data);