Rust
API для Rusty Raging Cookies | PvE RPG | SkillTree | EpicLoot | Events
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10740702json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 69840,
"world_seed": 1366950189,
"world_size": 3500,
"steam_id": "90284753560741892",
"domain": null,
"id": 10740702,
"ip": "151.242.127.134",
"port": 28105,
"query": 28106,
"color": 0,
"city": "City of London",
"description": "\nSurvive, grow stronger, and conquer the wilds in a fully customized RPG-driven Rust experience.\r\n - Level up with SkillTree progression \r\n - Battle NPCs and wildlife where ever you go \r\n - Craft better gear with QualityCrafting \r\n - Enhance your gear with EpicLoot \r\n - Protect your gear with Item Insurance \r\n - Raid bases and explore dangerous dungeons or get raided by NPC Raiders \r\n - Battle Alpha animals in the wild and become a skillfull tailor \r\n - Careful not to catch any diseases \r\n - Participate in Sputnik and other world events \r\n - Earn ServerRewards RP currency through adventures and challenges.\r\n - Earn your titles \r\n \r\n - Forge your path and become a legend.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776747800,
"score": 0,
"last_online": 1776832822,
"icon": null,
"name": "Rusty Raging Cookies | PvE RPG | SkillTree | EpicLoot | Events",
"connect": "151.242.127.134:28105",
"request": "151.242.127.134:28106",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2622",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1766250732,
"last_update": 1776832822,
"banned": false,
"wipe": 1772741480,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3978,
"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/10740702");
$data = json_decode($json, true);
var_dump($data);