Rust
API для Rust Colombia
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10979398json
{
"response": {
"fps": 109,
"fps_avg": 109,
"entities_count": 80724,
"world_seed": 1028784661,
"world_size": 3500,
"steam_id": "90284733778844678",
"domain": null,
"id": 10979398,
"ip": "200.10.31.55",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Pereira",
"description": "\nSERVER COLOMBIANO BAJO PING !! 24/7 DEDICADO !!\r\n\r\nServidor Latino Semanal - Vanilla\r\n\r\nFull Wipe Semanal Todos Los Jueves 2PM.\r\n\r\nMAP: Vanilla = Semilla\r\nSIZE: 3500\r\nMax Team: 8 Players\r\nSHOP !! Only VIPS Pack\r\n\r\nTenemos tienda si no le trama no ingrese GRACIAS !!\r\n\r\nReglas: www.rustcol.com\r\n\r\nAdministracion Activa.\r\n\r\n1 Xeon 20 Cores 3.4 GHz - 90 Gb Ram !! 480 GB M.2 Host !!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776505403,
"score": 0,
"last_online": 1776848426,
"icon": null,
"name": "Rust Colombia",
"connect": "200.10.31.55:28015",
"request": "200.10.31.55:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 1,
"maxplayers": 120,
"bots": 0,
"secured": true,
"private": false,
"country": "CO",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1769901106,
"last_update": 1776848426,
"banned": false,
"wipe": 1776365627,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4464,
"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/10979398");
$data = json_decode($json, true);
var_dump($data);