Rust
ДНР:SURViVAL PVE\PVPinRT x1+x50 skill system için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/806188json
{
"response": {
"fps": 127,
"fps_avg": 126,
"entities_count": 84269,
"world_seed": 422790172,
"world_size": 4500,
"steam_id": "90284791400632341",
"domain": null,
"id": 806188,
"ip": "109.254.77.72",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Donetsk",
"description": "\nСервер ДНР:SURViVAL запущен в режиме survival PVE/PVP на РТ + добавлены моды \r\n Рейты х1+x50 от скилов /xpinfo, телепорт домой /home /deletehome /tphome \r\n Еженедельный глобальный вайп (каждый четверг в 22)\r\n Все подробности в ВК группе!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776819797,
"score": null,
"last_online": 1776833425,
"icon": null,
"name": "ДНР:SURViVAL PVE\\PVPinRT x1+x50 skill system",
"connect": "109.254.77.72:28015",
"request": "109.254.77.72:28017",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "UA",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1684354347,
"last_update": 1776833425,
"banned": false,
"wipe": 1776364520,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2355,
"language": "uk",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/806188");
$data = json_decode($json, true);
var_dump($data);