Rust
API для [US] Spoonkid Rust - 2x Mondays | 5 MAX | Shared BPs
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7874590json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 253701,
"world_seed": 3768,
"world_size": 3900,
"steam_id": "90284731152060423",
"domain": null,
"id": 7874590,
"ip": "94.231.215.6",
"port": 28015,
"query": 28011,
"color": 0,
"city": "Chicago",
"description": "![[US] Spoonkid Rust - 2x Mondays | 5 MAX | Shared BPs](https://spoonkidrustmaps.com/Server_Banner_US_MONDAYS.png)\nSpoonkid Rust is a server that caters to the casual yet competitive friend group!\r\n\\t- Gather Rate is 2x\r\n\\t- Loot Tables are 2x\r\n\\t- Group Limit: Five (5) (see below)\r\n• Join our Discord: discord.gg/spoonkidrust\r\n\r\n• Map Wipes every Monday 4pm ET\r\n• BP Wipes every Month @ FIRST MONDAY AFTER FORCE\r\n\r\n> Teaming Rules\r\n• No allies\r\n• No teaming\r\n• No raiding with other groups\r\n• No roaming with other groups\r\n\r\n• What's a 'Group'?\r\n\\t- A group is defined by a who is authed on the Code Locks, Tool Cupboard and has sleeping bags within a base.\r\n\r\n• How do I swap members?\r\n\\t- Destroy all bags & remove all their access to your base (TC, Codes)\r\n\\t- Kill the player\r\n\\t- NOTE: The swapped player must leave the server, and can no longer play.\r\n\r\n Please join our Discord for more information!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776243713,
"score": 0,
"last_online": 1776796211,
"icon": null,
"name": "[US] Spoonkid Rust - 2x Mondays | 5 MAX | Shared BPs",
"connect": "94.231.215.6:28015",
"request": "94.231.215.6:28011",
"map": "store.SpoonkidRust.com",
"gamemode": "Survival",
"version": "2623",
"numplayers": 192,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 102,
"add_date": 1740344183,
"last_update": 1776796211,
"banned": false,
"wipe": 1776715222,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 154,
"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/7874590");
$data = json_decode($json, true);
var_dump($data);