API pentru Well Baked -Custom Server, 50% upkeep, No Build Limits...
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 58,
"fps_avg": 56,
"entities_count": 94776,
"world_seed": 1,
"world_size": 4000,
"steam_id": "90286604406646784",
"domain": null,
"id": 10219415,
"ip": "156.236.84.203",
"port": 28015,
"query": 28016,
"color": 0,
"city": "City of London",
"description": "Custom server with cool plugins for a chilled but chaotic experience - Quest's, Zombie Hordes, Ganja for cheap boosts, Basements, Backpacks, Call in a Patrol Heli, NPC Raiders, Raidable Bases (PVP & PVE), Custom Monuments, Shop & Rewards, more plugins to follow.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780596861,
"last_online": 1780625430,
"icon": null,
"name": "Well Baked -Custom Server, 50% upkeep, No Build Limits...",
"connect": "156.236.84.203:28015",
"request": "156.236.84.203:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1756663979,
"last_update": 1780625430,
"banned": false,
"wipe": 1780596973,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3385,
"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/10219415");
$data = json_decode($json, true);
var_dump($data);