Rust
API для [EU][PL] KrainaRUST.com PvE +PvP
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10661241json
{
"response": {
"fps": 40,
"fps_avg": 40,
"entities_count": 174294,
"world_seed": 1453391521,
"world_size": 4250,
"steam_id": "90284796304904203",
"domain": null,
"id": 10661241,
"ip": "51.68.154.85",
"port": 7777,
"query": 7778,
"color": 0,
"city": "Warsaw",
"description": "![[EU][PL] KrainaRUST.com PvE +PvP](https://www.krainarust.com/header.jpg)\n[PL]\r\nSerwer PvE ze strefami PvP. 5x Stack, MAPA 4250, Wipe 1M.\r\nNagrody, 710 Raidowalnych baz, 14 Eventow, Raidy NPC, Recycler, Sklep, Dodatkowy plecak.\r\nWskocz na nasz DISCORD i zgarnij codzienne dropy!\r\n[ENG]\r\nServer PvE with PvP Areas. 5x Stack, 4250 MAP, Wipe 1M.\r\nRewards, 710 Raidable Bases, 14 Events, NPC Raids, Recycler, Shop, Backpack.\r\nJoin to our DISCORD and get some daily drops!\r\n\r\nWWW: www.krainarust.com\r\nDISCORD: www.krainarust.com/discord",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776425019,
"score": 0,
"last_online": 1776832820,
"icon": null,
"name": "[EU][PL] KrainaRUST.com PvE +PvP",
"connect": "51.68.154.85:7777",
"request": "51.68.154.85:7778",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1764544714,
"last_update": 1776832820,
"banned": false,
"wipe": 1775152672,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3851,
"language": "pl",
"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/10661241");
$data = json_decode($json, true);
var_dump($data);