API для RustSpain.com | EU Solo Only
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 29,
"fps_avg": 28,
"entities_count": 192994,
"world_seed": 1337,
"world_size": 3500,
"steam_id": "90286426109121554",
"domain": null,
"id": 11511358,
"ip": "45.88.230.140",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Canary Wharf",
"description": "\n¡Bienvenidos a RustSpain.com Vanilla Solo! Servidor Oficial con normas y Admins activos. Con nosotros podrás disfrutar de tu mejor experiencia en Rust.\n\n● Sin Team. Sin Contactos. Todos contra todos. Alianzas no permitidas.\n● Realizamos los Wipes de Mapa/Construcciones cada Jueves (Semanal).\n● Realizamos limpieza de BP/Recetas mensualmente como todos los servidores oficiales.\n● Prohibido el uso de HACKS, Scripts, Exploits,... (Reportar usando F7).\n● Consulta todas las normas del servidor en: rustspain.com/rules/\n● Consulta las estadísticas del Wipe en: rustspain.com/stats/\n\nÚnete a nuestro Discord donde encontrarás toda la información del servidor como Wipes, Mapas, Novedades, Sorteos, Actualizaciones...\n\nServidor alojado en ServersGame.es\n\n━━━━━━━━━━━━━━━━━━━━\n\nWelcome to RustSpain.com Vanilla Solo! Official server with active rules enforcement and active admins. Enjoy the best Rust experience with us.\n\n● No Teams. No Contacts. Everyone for themselves. Alliances are not allowed.\n● Map/Building wipes take place every Thursday (Weekly).\n● BP/Recipe wipes take place monthly, just like official servers.\n● The use of HACKS, Scripts, Exploits, etc. is strictly prohibited (Report using F7).\n● Check all server rules at: rustspain.com/rules/\n● Check wipe statistics at: rustspain.com/stats/\n\nJoin our Discord where you will find all server information including Wipes, Maps, News, Giveaways, Updates...\n\nServer hosted by ServersGame.es",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779678208,
"last_online": 1780270218,
"icon": null,
"name": "RustSpain.com | EU Solo Only",
"connect": "45.88.230.140:28015",
"request": "45.88.230.140:28016",
"map": "Procedural Map (Optimizado)",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 67,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 91,
"add_date": 1779353842,
"last_update": 1780270218,
"banned": false,
"wipe": 1779976338,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 208,
"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/11511358");
$data = json_decode($json, true);
var_dump($data);