API für Name is not set on server
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 3089006,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "[{\"id\":\"rupeqpjfw\",\"type\":\"image\",\"data\":{\"file\":{\"url\":\"https://media.discordapp.net/attachments/1211879008594034708/1213044430269972490/rust_logo.jpg?ex=65f40aa9&is=65e195a9&hm=3cc7a0d4ef11e0537ac0eaae16fb14768e67c68324417ba7591dbf295c0337f9&=&format=webp\"},\"caption\":\"Description\",\"withBorder\":false,\"stretched\":true,\"withBackground\":false}},{\"id\":\"r9cub3h2g\",\"type\":\"paragraph\",\"data\":{\"text\":\"[RU] RUSTy_GROVE (X1 | KITS | TP | GIFTS) \\n>Добыча ресурсов Х1\\n>Увеличен спавн ресурсов\\n>Пропуск ночи\\n>Система телепортаций\\n>Kit наборы\\n>Автоматическое закрытие дверей и ворот \\n>Увеличенные стаки\\n>Мгновенный крафт\\n>Ежедневные подарки\"}},{\"id\":\"kobpk6228\",\"type\":\"delimiter\",\"data\":{}},{\"id\":\"9peia71bi\",\"type\":\"paragraph\",\"data\":{\"text\":\"Сервер Discord: [https://discord.gg/qqv46gQk7T](https://discord.gg/qqv46gQk7T)\\nСайт магазина: [rusty_grove_store.survivalshop.org](http://rusty_grove_store.survivalshop.org)\"}}]",
"game": 252490,
"owner": 54017,
"boosts": 1,
"last_offline": 1751888070,
"last_online": 1749157251,
"icon": null,
"name": "Name is not set on server",
"connect": null,
"request": null,
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": null,
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1708878698,
"last_update": 1751888070,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 13053,
"language": "ru",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "egorkalebed",
"avatar": "ca7f6888-79a5-4d88-a62c-286fcc2fd566.jpg"
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/3089006");
$data = json_decode($json, true);
var_dump($data);