Rust
API для Kapco411 PVEasy|3X Monthly|No Zombies or Xtra NPC's|Chill with
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8297913json
{
"response": {
"fps": 81,
"fps_avg": 78,
"entities_count": 162088,
"world_seed": 1337,
"world_size": 5000,
"steam_id": "90284808137193479",
"domain": null,
"id": 8297913,
"ip": "65.28.44.27",
"port": 28056,
"query": 28057,
"color": 0,
"city": "Trevor",
"description": "\nPVE without the nightmare. \r\nNo Zombies\r\nNo Extra NPC's added \r\nNo Jump Scares on barrel breaks\r\nNobody is chasing you \r\nAll the events without the added dangers.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776857602,
"score": 0,
"last_online": 1776885765,
"icon": null,
"name": "Kapco411 PVEasy|3X Monthly|No Zombies or Xtra NPC's|Chill with",
"connect": "65.28.44.27:28056",
"request": "65.28.44.27:28057",
"map": "Your Map Name",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1743250348,
"last_update": 1776885765,
"banned": false,
"wipe": 1776340697,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3581,
"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/8297913");
$data = json_decode($json, true);
var_dump($data);