API pentru [SEA] Beginners Vanilla - Duo/Trio
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 55,
"fps_avg": 55,
"entities_count": 104083,
"world_seed": 578369846,
"world_size": 3500,
"steam_id": "90286454071487505",
"domain": null,
"id": 11596809,
"ip": "103.216.223.85",
"port": 7151,
"query": 7152,
"color": 0,
"city": "Singapore",
"description": "![[SEA] Beginners Vanilla - Duo/Trio](https://cdn1.site-media.eu/images/0/9846733/serverbanner.jpg)\nMax team of 3. \r\nWeekly Wipe. \r\nMonthly BP Wipe. \r\nTC Auth check for teaming prevention. \r\nTutorial Island for Beginners! \r\nTeaming, Cheating will be banned! \r\nToxic voice/chat will be time-banned. \r\nDiscord : https://discord.gg/EgkebWpbqv",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780252446,
"last_online": 1780629630,
"icon": null,
"name": "[SEA] Beginners Vanilla - Duo/Trio",
"connect": "103.216.223.85:7151",
"request": "103.216.223.85:7152",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "SG",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779358599,
"last_update": 1780629630,
"banned": false,
"wipe": 1780056098,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4955,
"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/11596809");
$data = json_decode($json, true);
var_dump($data);