Rust
API pentru [US] RustLab 2x - Vanilla Plus - Monthly - No Kits / No TP
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11261235json
{
"response": {
"fps": 9,
"fps_avg": 9,
"entities_count": 122724,
"world_seed": 326487322,
"world_size": 4500,
"steam_id": "90284799137463311",
"domain": null,
"id": 11261235,
"ip": "71.52.20.16",
"port": 28015,
"query": 28017,
"color": 0,
"city": "The Villages",
"description": "![[US] RustLab 2x - Vanilla Plus - Monthly - No Kits / No TP](https://svs.gsfc.nasa.gov/vis/a000000/a003000/a003032/frames/1024x512/cld_f.0012.png)\n2x Vanilla+ Progression. n No Kits, No TP, No P2W. n n Wipe Schedule n Monthly Map Wipes At Force Wipe. n Only Forced BP wipes. n n Server Settings n Balanced Loot Tables. n Light QoL With Furnace And Stack Tweaks. n Active Non-Playing Admins. n n Rules n No Cheating Or Scripting. n No Bug Abuse Or Exploits. n No Ban Evasion. n No Racism, Harassment, Or Toxicity.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776837800,
"score": 0,
"last_online": 1776888624,
"icon": null,
"name": "[US] RustLab 2x - Vanilla Plus - Monthly - No Kits / No TP",
"connect": "71.52.20.16:28015",
"request": "71.52.20.16:28017",
"map": "RustLab 4500 Dedicated Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555228,
"last_update": 1776888624,
"banned": false,
"wipe": 1775197361,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5113,
"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/11261235");
$data = json_decode($json, true);
var_dump($data);