API pentru RustNecks- US 2X Monthly | Vanilla |
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 100084,
"world_seed": 15434,
"world_size": 4250,
"steam_id": "90286604394845214",
"domain": null,
"id": 10605620,
"ip": "108.17.86.205",
"port": 28020,
"query": 28026,
"color": 0,
"city": "McKees Rocks",
"description": "\n\r\nNoobs Welcome! \r\nNo Pay to Win \r\nActive Non Playing Admin \r\nVanilla like server with 1 month cycle for map and BPs. \r\nGroup UI is 12 \r\nWipes on first Thursday of every month with the patch hits \r\nNo Vac or game bans under 365 days \r\nclick website button for discord link",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595060,
"last_online": 1780603231,
"icon": null,
"name": "RustNecks- US 2X Monthly | Vanilla |",
"connect": "108.17.86.205:28020",
"request": "108.17.86.205:28026",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2627",
"numplayers": 5,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1763321652,
"last_update": 1780603231,
"banned": false,
"wipe": 1780595525,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2385,
"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/10605620");
$data = json_decode($json, true);
var_dump($data);