Rust
API pentru Bestrust Solo/Duo/Trio/Quad 3x #2 | JUST FULLWIPED 18.04 04/18
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10805548json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 25739,
"world_seed": 1337,
"world_size": 2499,
"steam_id": 90284607554599950,
"domain": null,
"id": 10805548,
"ip": "141.11.117.40",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Los Angeles",
"description": "\nWelcome to Bestrust Solo/Duo/Trio/Quad 3x #2!\nGet 3 free rust skins by using the BESTRUST code on https://splits.gg\n\nWipe Schedule:\n• Fullwipes Every Tuesday at 14:45 CEST\n• Fullwipes Every Saturday at 14:45 CEST\n- Last Wipe: 18.04 14:45 CEST Type: Full Wipe\n- Next Wipe: 21.04 14:45 CEST Type: Full Wipe\n\nFeatures:\n- 3x gathering & loot\n- Max Group Size: 4\n- Shared Blueprints\n- Balanced kits & commands\n- Great anti-cheat + Active non-playing admins",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775151730,
"score": 0,
"last_online": 1776522017,
"icon": null,
"name": "Bestrust Solo/Duo/Trio/Quad 3x #2 | JUST FULLWIPED 18.04 04/18",
"connect": "141.11.117.40:28015",
"request": "141.11.117.40:28017",
"map": "Wiped 1 hours ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 75,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 77,
"add_date": 1766921284,
"last_update": 1776522017,
"banned": false,
"wipe": 1776516086,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 650,
"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/10805548");
$data = json_decode($json, true);
var_dump($data);