API für Refite Rust | Классика x2
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7240568,
"ip": null,
"port": null,
"query": null,
"project_id": null,
"color": 0,
"city": null,
"description": "[\n {\n \"id\": \"zloqfm1fh\",\n \"type\": \"image\",\n \"data\": {\n \"caption\": \"Refite Rust [ x2 | SemiClassic | Skin ] FULLWIPED 07.03\",\n \"withBorder\": false,\n \"withBackground\": false,\n \"stretched\": true,\n \"file\": {\n \"url\": \"https://pic.survivalhost.org/images/2024/11/12/full_photo-resizer.png\"\n }\n }\n },\n {\n \"id\": \"pR4ejY5Gzx\",\n \"type\": \"paragraph\",\n \"data\": {\n \"text\": \"Классический x2 сервер с небольшими улучшениями: \"\n }\n },\n {\n \"id\": \"9cpkji7w9J\",\n \"type\": \"paragraph\",\n \"data\": {\n \"text\": \"⭐ Бесплатная смена скинов предметов, построек и нижнего белья\"\n }\n },\n {\n \"id\": \"IFbsaUvfVK\",\n \"type\": \"paragraph\",\n \"data\": {\n \"text\": \"⭐ Добыча ресурсов x2, скорость крафта x2, стаки x5\"\n }\n },\n {\n \"id\": \"gs6Zz0-Afq\",\n \"type\": \"paragraph\",\n \"data\": {\n \"text\": \"⭐ Получай деньги на баланс магазина за игру на сервере!\"\n }\n },\n {\n \"id\": \"LxSvbOTYgv\",\n \"type\": \"paragraph\",\n \"data\": {\n \"text\": \"⭐ Немного ускорены печи и ночь\"\n }\n },\n {\n \"id\": \"bIPciUcCB9\",\n \"type\": \"paragraph\",\n \"data\": {\n \"text\": \"⭐ Можно ставить метки без бинокля\"\n }\n },\n {\n \"id\": \"Xc8wGt4VMX\",\n \"type\": \"paragraph\",\n \"data\": {\n \"text\": \"⭐ Личная статистика и топы игроков\"\n }\n },\n {\n \"id\": \"QuNExmIT3q\",\n \"type\": \"paragraph\",\n \"data\": {\n \"text\": \"⭐ Личные сообщения\"\n }\n },\n {\n \"id\": \"2FdH8RgJHB\",\n \"type\": \"paragraph\",\n \"data\": {\n \"text\": \"⭐ Максимальное количество турелей увеличено до 20\"\n }\n },\n {\n \"id\": \"MM-HpoHbbn\",\n \"type\": \"paragraph\",\n \"data\": {\n \"text\": \"⭐ Спать в безопасных зонах можно 30 минут (вместо 20)\"\n }\n },\n {\n \"id\": \"BAFOLzDMP-\",\n \"type\": \"paragraph\",\n \"data\": {\n \"text\": \"⭐ Репорт система\"\n }\n },\n {\n \"id\": \"Guqys1uwhg\",\n \"type\": \"paragraph\",\n \"data\": {\n \"text\": \"Заходи! IP ➙ 185.207.214.198:35900 \"\n }\n },\n {\n \"id\": \"Mnlt1FgIMr\",\n \"type\": \"paragraph\",\n \"data\": {\n \"text\": \"Дискорд сервер: [https://discord.gg/krQCwnMp2s](https://discord.gg/krQCwnMp2s)\"\n }\n },\n {\n \"id\": \"gYoRPo-eoX\",\n \"type\": \"paragraph\",\n \"data\": {\n \"text\": \"Магазин: [https://refite.gamestores.app](https://refite.gamestores.app/)\"\n }\n }\n]",
"game": 252490,
"owner": 83211,
"boosts": 1,
"last_offline": 1750457066,
"last_online": 1743428439,
"icon": null,
"name": "Refite Rust | Классика x2",
"connect": null,
"request": null,
"map": "Procedural Map",
"gamemode": "Survival",
"version": null,
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1736575907,
"last_update": 1750457066,
"banned": false,
"wipe": 1742550845,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 13247,
"language": "ru",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "nelxx",
"avatar": "6e4d7d11-26a7-4cb8-8ada-159d986a616a.jpg"
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/7240568");
$data = json_decode($json, true);
var_dump($data);