API pentru Yaki's Test Server
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 101526,
"world_seed": 1337,
"world_size": 4096,
"steam_id": "90286603528417304",
"domain": null,
"id": 8529045,
"ip": "91.229.114.2",
"port": 28031,
"query": 28033,
"color": 0,
"city": "Chicago",
"description": "Map Wipe: Monthly force wipe @ 4pm EST\r\nBlueprint Wipe: Monthly force wipe\r\n\r\n######################################\r\n\r\nFeatures:\r\n - No VIP kits\r\n - Fog of war map (unlock grids as you discover them)\r\n - No tech tree (find the item to research it)\r\n - Workbenches extend throughout your entire base\r\n - Craftable and lockable vehicles (no air wolf vendor)\r\n - Heavy npcs guarding multiple monuments, heli, and bradley\r\n - Raiding zombies and npcs\r\n - Zombie hordes\r\n - Roaming Bosses\r\n - Tiered raidable bases\r\n - Tiered patrol helicopters (locked to your team when called in)\r\n - 45 min day 15 min nights\r\n - 0.5x gather rates and 1x loot\r\n - 5x upkeep\r\n - No reasearching or crafting weapons\r\n - No wounded state (if you die you die)\r\n - Extra bradleys at monuments\r\n - Custom monuments\r\n - Instanced quarries and giant excavator\r\n - Auto turrets ignore players but attack npcs\r\n - Lots and lots of zombies...\r\n - Much more\r\n\r\nMore info available at thelastofrust.com\r\nClick the View Webpage button to join our Discord or visit discord.thelastofrust.com",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780608257,
"last_online": 1780603233,
"icon": null,
"name": "Yaki's Test Server",
"connect": "91.229.114.2:28031",
"request": "91.229.114.2:28033",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1744458214,
"last_update": 1780608257,
"banned": false,
"wipe": 1780594929,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 9887,
"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/8529045");
$data = json_decode($json, true);
var_dump($data);