API pentru Mega-Rust [ Siam TH ] x2 Wipe Weekly BP Max5
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 188,
"fps_avg": 204,
"entities_count": 48864,
"world_seed": 1596967747,
"world_size": 3000,
"steam_id": "90286398673703944",
"domain": null,
"id": 11502649,
"ip": "49.0.88.23",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Bangkok",
"description": "![Mega-Rust [ Siam TH ] x2 Wipe Weekly BP Max5](https://i.postimg.cc/MZcCSRXY/500x256.png)\nWipe Schedule:\r\nWeekly: Map + Inventory Wipe BP Kept\r\nMonthly: Full Wipe Including BP\r\n\r\nServer Info:\r\nGather Rate: x2\r\nMax Group: 5\r\n\r\nRules:\r\n1. No Hacking / Cheating\r\n2. No Racism / Toxic Behavior\r\n3. No Teaming Over 5\r\n4. No Base Griefing\r\n5. No Impersonating Admin\r\n6. Respect All Players\r\n7. English / Thai Only in Chat\r\n8. No Advertising Other Servers\r\n\r\nDiscord: https://discord.gg/CwU6sYF7Ha",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780139019,
"last_online": 1780558833,
"icon": null,
"name": "Mega-Rust [ Siam TH ] x2 Wipe Weekly BP Max5",
"connect": "49.0.88.23:28015",
"request": "49.0.88.23:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "TH",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207207,
"last_update": 1780558833,
"banned": false,
"wipe": 1780139054,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4980,
"language": "th",
"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/11502649");
$data = json_decode($json, true);
var_dump($data);