Rust
API for Rust X2
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/10342030json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10342030,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Moscow",
"description": "\n\r\n Приглашаем вас на игровой сервер RUST UNITY NoLimit! \r\n - Рейты добычи ресурсов Х2. \r\n - Плавка печей Х2. \r\n - Увеличенный добываемый лут.\r\n - Мощное железо без лишних лагов.",
"game": 252490,
"owner": 74374,
"boosts": 1,
"last_offline": 1767073861,
"score": 0,
"last_online": 1766199610,
"icon": null,
"name": "Rust X2",
"connect": null,
"request": null,
"map": "Procedural Map",
"gamemode": "Survival",
"version": null,
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1758453416,
"last_update": 1767073861,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 7522,
"language": "ru",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "RUSTUNITY",
"avatar": "375c55c7-60a3-4236-bfc0-347945effb08.jpg",
"last_online": 1777652806
},
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/10342030");
$data = json_decode($json, true);
var_dump($data);