Rust
API für GRIMWAR #1 | SOLO x5-x10 | Loot+ | Custom | Free VIP
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/6287474json
{
"response": {
"fps": 273,
"fps_avg": 244,
"entities_count": 62085,
"world_seed": 1562008663,
"world_size": 3700,
"steam_id": "90284837029693461",
"domain": null,
"id": 6287474,
"ip": "185.189.255.86",
"port": 35100,
"query": null,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"46V-k75YrJ\",\"type\":\"image\",\"data\":{\"caption\":\"GRIMWAR #1 | SOLO x5-x10 | Tuesday & Friday Wipe | Loot+ | Cust\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://grimwar.ru/template/img/server.png\"}}},{\"id\":\"uol8QarT1j\",\"type\":\"paragraph\",\"data\":{\"text\":\"GRIMWAR #1 | SOLO x5-x10 | ВАЙП ВТ / ПТ 13:00 МСК\"}},{\"id\":\"j77pcRApaQ\",\"type\":\"paragraph\",\"data\":{\"text\":\"SOLO ONLY — тим = бан\\n\\nБыстрые рейды и постоянное PvP\\n\\nLoot+ и ускоренная прогрессия\\n\\nИвенты каждый день\\n\\nTP / Remove / Fast Furnace\\n\\nКороткая ночь\"}},{\"id\":\"RElH8pG7Sl\",\"type\":\"paragraph\",\"data\":{\"text\":\"Grimwar.ru\\n\\nЗдесь выживает сильнейший.\"}}]",
"game": 252490,
"owner": 172084,
"boosts": 1,
"last_offline": 1776575595,
"score": 5,
"last_online": 1776976813,
"icon": null,
"name": "GRIMWAR #1 | SOLO x5-x10 | Loot+ | Custom | Free VIP",
"connect": "185.189.255.86:35100",
"request": null,
"map": "Custom Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 2,
"points": 98,
"add_date": 1729556269,
"last_update": 1776976813,
"banned": false,
"wipe": 1776765043,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": true,
"position_game": 177,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "cerberdoom1",
"avatar": "no.jpg",
"last_online": 1776864870
},
"mods": [
{
"id": 979,
"name": "Kits"
},
{
"id": 1323,
"name": "Shop"
},
{
"id": 1431,
"name": "Teleportation"
},
{
"id": 1552,
"name": "XDStatistics"
},
{
"id": 1528,
"name": "Wipe Block"
},
{
"id": 1451,
"name": "Trade"
},
{
"id": 900,
"name": "Image Library"
},
{
"id": 1114,
"name": "NPC Spawn"
}
],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/6287474");
$data = json_decode($json, true);
var_dump($data);