Rust
API для The Forest Solo/Duo/Trio - Monthly - Noob Friendly
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11435435json
{
"response": {
"fps": 50,
"fps_avg": 49,
"entities_count": 68804,
"world_seed": 390118904,
"world_size": 3500,
"steam_id": "90285633880970257",
"domain": null,
"id": 11435435,
"ip": "193.135.10.247",
"port": 15211,
"query": 15212,
"color": 0,
"city": "Wolfsburg",
"description": "Herzlich Willkommen\n- Server Info: Monatlicher Wipe\n- Wipe: Nächster Wipe 04.06.26 \n- Discord: The Forest Solo/Duo/Trio - Monthly - Noob Friendly oder Link: https://discord.gg/adCTEje4\n- Regeln:\n● 1 Das Gruppenlimit liegt bei 3 Leuten (Es wird keine Zusammenarbeit mit andern geduldet)!!\n● 2 Gebt Anfängern eine Chance, und Raidet sie nicht sofort!!\n● 3 Keine Beleidigungen oder Rassistische Äußerungen!!\n● 4 Kein Spamming im Chat\n● 5 Keine Fremd Werbung!!\n● 6 Raiden ist nach der ersten Woche eines wipes erlaubt\n\nAlle vergehen werden bestraft!!\n\nViel Spaß beim suchten",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778176386,
"score": 0,
"last_online": 1778542218,
"icon": null,
"name": "The Forest Solo/Duo/Trio - Monthly - Noob Friendly",
"connect": "193.135.10.247:15211",
"request": "193.135.10.247:15212",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774977189,
"last_update": 1778542218,
"banned": false,
"wipe": 1778176774,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4658,
"language": "de",
"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/11435435");
$data = json_decode($json, true);
var_dump($data);