API pentru Tigerland PVE
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 94,
"fps_avg": 95,
"entities_count": 119066,
"world_seed": 210236915,
"world_size": 4500,
"steam_id": "90286603626908689",
"domain": null,
"id": 11502655,
"ip": "92.118.19.42",
"port": 28025,
"query": 28026,
"color": 0,
"city": "Dallas",
"description": "\nWelcome to Tigerland PVE.\n\n- 2x stack size for certain items\n- Loot Protection\n- Economy System\n- Skills\n- Buildable Tugboats\n- Looting notifications\n- Locked Supply Drops\n- Extra Recyclers\n- Skip Night Vote\n- Extra NPC's at monuments\n- Bradley Drops\n- Heli Signals\n- Raidable Bases\n- NPC Raiders\n- Convoy\n- Gas Station Event\n- Flying Cargo Ship\n\n- More details within the Info Panel",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595060,
"last_online": 1780603237,
"icon": null,
"name": "Tigerland PVE",
"connect": "92.118.19.42:28025",
"request": "92.118.19.42:28026",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207208,
"last_update": 1780603237,
"banned": false,
"wipe": 1780595321,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4712,
"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/11502655");
$data = json_decode($json, true);
var_dump($data);