Rust
API for MelonRust.ru #2 X10000000 [NOLIMIT | FPS + | PVP + | BARREN]
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/11260746json
{
"response": {
"fps": 198,
"fps_avg": 186,
"entities_count": 56463,
"world_seed": 1337,
"world_size": 2600,
"steam_id": "90284837838307333",
"domain": null,
"id": 11260746,
"ip": "37.230.162.34",
"port": 20510,
"query": 20511,
"color": 0,
"city": "Moscow",
"description": "![MelonRust.ru #2 X10000000 [NOLIMIT | FPS + | PVP + | BARREN]](https://i.postimg.cc/bvGr8dWR/bfinf.png)\nWelcome to MELONRUST!\r\n ➣ Вайп каждую пятницу 16:00 по МСК \r\n ➣ Рейты: x1000000\r\n ➣ Карта: 270 Barren\r\n ➣ Сервер заточен в основном на пвп, но и порейдить будет приятно\r\n ➣ Нет урона от ракет\r\n ➣ Играй просто в кайф\r\n ➣ Store - https://melonrust.ru \r\n ➣ Discord - https://discord.gg/melonrust",
"game": 252490,
"owner": 164850,
"boosts": 1,
"last_offline": 1776435205,
"score": 0,
"last_online": 1776970811,
"icon": null,
"name": "MelonRust.ru #2 X10000000 [NOLIMIT | FPS + | PVP + | BARREN]",
"connect": "37.230.162.34:20510",
"request": "37.230.162.34:20511",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 68,
"maxplayers": 180,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 109,
"add_date": 1774555203,
"last_update": 1776970811,
"banned": false,
"wipe": 1776435380,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 100,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "stiriner",
"avatar": "no.jpg",
"last_online": 1774991336
},
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11260746");
$data = json_decode($json, true);
var_dump($data);