Rust
API для EU | RustyToes Vanilla Solo/Duo
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7880998json
{
"response": {
"fps": 133,
"fps_avg": 132,
"entities_count": 95365,
"world_seed": 742842439,
"world_size": 3700,
"steam_id": "90284687887788058",
"domain": null,
"id": 7880998,
"ip": "213.136.55.243",
"port": 28045,
"query": 28046,
"color": 0,
"city": "Stockholm",
"description": "Welcome to Rusty Toes Solo/Duo Server.\r\n\\Info\r\n\r\nMap Wipe : Monthly\r\nMap Size : 3700\r\nBp Wipe Monthly\r\nTeams: Solo/Duo/ Friendly\r\n50% Upkeep Cost\r\nBe Respectful\r\nNo Spamming or Hacking\r\nGamemode: Vanilla\r\nActive admins if you have an issue please raise a ticket on discord.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776672200,
"score": 0,
"last_online": 1776721222,
"icon": null,
"name": "EU | RustyToes Vanilla Solo/Duo",
"connect": "213.136.55.243:28045",
"request": "213.136.55.243:28046",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2617",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "SE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1740390913,
"last_update": 1776721222,
"banned": false,
"wipe": 1775154506,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3387,
"language": "sv",
"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/7880998");
$data = json_decode($json, true);
var_dump($data);