API pentru Old Man Rust Vanilla Solo/Duo, PVE, PVP Zones, Monument Wars
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 53,
"fps_avg": 54,
"entities_count": 119215,
"world_seed": 2654,
"world_size": 4500,
"steam_id": "90286363348005906",
"domain": null,
"id": 11511290,
"ip": "66.51.97.59",
"port": 28090,
"query": 28091,
"color": 0,
"city": "City of London",
"description": "\nWelcome to Old Man Rust — where the wipes are chill, the players are friendly, and the only thing trying to kill you is the wildlife.\r\nThis is a PvE Solo/Duo server focused on relaxed gameplay, base building, and progression without being griefed every 10 minutes.\r\nIf you want a slower, friendlier Rust experience, you’ll feel right at home here\r\n\r\nPvE only\r\n\r\nSolo/Duo limit\r\n\r\nNo raiding\r\n\r\nActive moderation\r\n\r\nChill, friendly atmosphere\r\n\r\nPerfect for beginners or relaxed players",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780570417,
"last_online": 1780074626,
"icon": null,
"name": "Old Man Rust Vanilla Solo/Duo, PVE, PVP Zones, Monument Wars",
"connect": "66.51.97.59:28090",
"request": "66.51.97.59:28091",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779353840,
"last_update": 1780570417,
"banned": false,
"wipe": 1778372478,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 11804,
"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/11511290");
$data = json_decode($json, true);
var_dump($data);