Rust
API pentru EpicLiO.com
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11130980json
{
"response": {
"fps": 84,
"fps_avg": 72,
"entities_count": 171410,
"world_seed": 160934937,
"world_size": 4500,
"steam_id": "90284791474505728",
"domain": null,
"id": 11130980,
"ip": "144.76.91.203",
"port": 28215,
"query": 28217,
"color": 0,
"city": "Falkenstein",
"description": "\nTHIS FORCED WIPE PRIZES: 250$ Total value up to 5 winners \r\nThe epiclio community official server here will be hosting events and giveaways for rust players, more at epiclio.com \r\nVanilla like, No Max, Custom 2800 Map size with Half decay & Upkeep, Support for PlayRust.io \r\nFresh Rust players friendly server \r\nLast Full wipe: 07/Oct || Next Full Wipe: 04/Nov \r\nTop Player in Selected Categories in this server wins Steam gift card \r\nFor Prizes, rules & conditions, join Discord discord.gg/A8yPmXM \r\nAdmins -MEK- & DePizza \r\nLast Month Champions: FLC, AG1 & Bigo ヅ",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776820396,
"score": 0,
"last_online": 1776849622,
"icon": null,
"name": "EpicLiO.com",
"connect": "144.76.91.203:28215",
"request": "144.76.91.203:28217",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2621",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1770397328,
"last_update": 1776849622,
"banned": false,
"wipe": 1770346058,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4543,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11130980");
$data = json_decode($json, true);
var_dump($data);