API pentru Thirsty Beaver|2x Gather|No BPs|MyMini|SkinBox|No Decay
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 89,
"fps_avg": 82,
"entities_count": 86507,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90286585642183683",
"domain": null,
"id": 4633368,
"ip": "216.245.177.44",
"port": 28025,
"query": 28027,
"color": 0,
"city": "Chicago",
"description": "\nWelcome to the Thirsty Beaver! Server is laid back and chill, if you need help ask a fellow player in the game. Admin's are active and will assist when need be. There are custom monuments and places to explore within the map. Server is a 2X gather rate. All NPCs will drop their weapons. Raiding player bases is turned off until the last week of wipe. There are respawnable NPC bases you can raid anytime during the wipe. Everyone has access to a minicopter with unlimited fuel.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778247784,
"last_online": 1780589432,
"icon": null,
"name": "Thirsty Beaver|2x Gather|No BPs|MyMini|SkinBox|No Decay",
"connect": "216.245.177.44:28025",
"request": "216.245.177.44:28027",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1717445366,
"last_update": 1780589432,
"banned": false,
"wipe": 1778179818,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2828,
"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/4633368");
$data = json_decode($json, true);
var_dump($data);