Rust
API pentru Bestrust Solo/Duo #2 - Weekly | JUST FULLWIPED 15.04 04/15
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10341995json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 146303,
"world_seed": 1337,
"world_size": 3999,
"steam_id": 90284591172600850,
"domain": null,
"id": 10341995,
"ip": "95.214.180.250",
"port": 28015,
"query": 28017,
"color": 0,
"city": "City of London",
"description": "\nWelcome to Bestrust Solo/Duo #2 - Weekly!\nGet 3 free rust skins by using the BESTRUST code on https://splits.gg\n\nWe have been providing the best Rust experience since 2018!\n\nVIP - Skip Queue is only 4€, check out our store, click on 'View Webpage' button below\nStore: https://store.bestrustservers.com/\n\nWipe Schedule:\n• Fullwipes Every Wednesday at 10:45 CEST\n- Last Wipe: 15.04 10:45 CEST Type: Full Wipe\n- Next Wipe: 22.04 10:45 CEST Type: Full Wipe\n\nFeatures:\n- Max Group Size: 2\n- Great anti-cheat + Active non-playing admins",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1772602290,
"score": 0,
"last_online": 1776522020,
"icon": null,
"name": "Bestrust Solo/Duo #2 - Weekly | JUST FULLWIPED 15.04 04/15",
"connect": "95.214.180.250:28015",
"request": "95.214.180.250:28017",
"map": "Wiped 3 days ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 10,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1758453401,
"last_update": 1776522020,
"banned": false,
"wipe": 1776242604,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1678,
"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/10341995");
$data = json_decode($json, true);
var_dump($data);