Rust
API для [LATAM] Sudamerica United | 16/04 Wipe
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/2502392json
{
"response": {
"fps": 40,
"fps_avg": 39,
"entities_count": 129332,
"world_seed": 1337,
"world_size": 3500,
"steam_id": "90284732990475288",
"domain": null,
"id": 2502392,
"ip": "177.221.141.138",
"port": 28037,
"query": 28035,
"color": 0,
"city": "Santiago",
"description": "![[LATAM] Sudamerica United | 16/04 Wipe](https://latamgameservers.com/imgs/sudamerica.png)\nBienvenid@ a Sudamerica United Vanilla \r\nFull wipe primer jueves del mes \r\nMap wipe todos los jueves \r\n \r\nMAX TEAM: Sin Limite \r\n \r\nPowered by LatamGameServers.com \r\nClick en visitar pagina web (boton azul) para unirte a nuestro discord",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775753524,
"score": null,
"last_online": 1776852618,
"icon": null,
"name": "[LATAM] Sudamerica United | 16/04 Wipe",
"connect": "177.221.141.138:28037",
"request": "177.221.141.138:28035",
"map": "FPS+ LatamGS.com",
"gamemode": "Survival",
"version": "2623",
"numplayers": 6,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "CL",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1705488763,
"last_update": 1776852618,
"banned": false,
"wipe": 1776358358,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1370,
"language": "es",
"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/2502392");
$data = json_decode($json, true);
var_dump($data);