API для RustGamingNation 1000x PvE [Events|Purge|Zombies|SkillTree]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 109311,
"world_seed": 1308881753,
"world_size": 4500,
"steam_id": "90286603970010125",
"domain": null,
"id": 519040,
"ip": "216.39.240.13",
"port": 28018,
"query": 28015,
"color": 0,
"city": "Ashburn",
"description": "![RustGamingNation 1000x PvE [Events|Purge|Zombies|SkillTree]](https://i.imgur.com/v502SmH.png)\nRustGamingNation 1000x PvE\r\nEvents | Purge | Zombies | SkillTree\r\nCustom PvE server with raidable bases, zombies, events, progression, and active development.\r\nFriendly community | Regular wipes | Active admins",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780596271,
"last_online": 1780597229,
"icon": null,
"name": "RustGamingNation 1000x PvE [Events|Purge|Zombies|SkillTree]",
"connect": "216.39.240.13:28018",
"request": "216.39.240.13:28015",
"map": "by klauz24",
"gamemode": "Survival",
"version": "2627",
"numplayers": 2,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1643496104,
"last_update": 1780597229,
"banned": false,
"wipe": 1780596151,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1557,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/519040");
$data = json_decode($json, true);
var_dump($data);