Rust
API для !Crustacean Club 5x|PvE|Shop|SkillTree|RaidBases|Dungeons|NoVIP
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10437131json
{
"response": {
"fps": 83,
"fps_avg": 75,
"entities_count": 78369,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90284211011244039",
"domain": null,
"id": 10437131,
"ip": "98.142.2.60",
"port": 2844,
"query": 2845,
"color": 0,
"city": "Ashburn",
"description": "- 5x resources\r\n- NPCs\r\n- Increased loot\r\n- Raid bases\r\n- Dungeons\r\n- Shop\r\n- Skill Tree\r\n- Many many premium plugins\r\n- Zero VIP bullshit, enjoy 98% of all plugins on the server\r\n- Monthly map/BP wipes (first Thursday of each month)\r\n- Every 3 months SkillTree and RP wipe\r\n- Enjoy the game you already paid for",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775883801,
"score": 0,
"last_online": 1775886015,
"icon": null,
"name": "!Crustacean Club 5x|PvE|Shop|SkillTree|RaidBases|Dungeons|NoVIP",
"connect": "98.142.2.60:2844",
"request": "98.142.2.60:2845",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1759910416,
"last_update": 1775886015,
"banned": false,
"wipe": 1775152887,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3883,
"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/10437131");
$data = json_decode($json, true);
var_dump($data);