Rust
API pentru [EU/SWE] Judge.se Vanilla Low decay
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10508386json
{
"response": {
"fps": 99,
"fps_avg": 101,
"entities_count": 125918,
"world_seed": 16165,
"world_size": 4500,
"steam_id": "90284793558160387",
"domain": null,
"id": 10508386,
"ip": "155.4.225.129",
"port": 29016,
"query": 29017,
"color": 0,
"city": "Mölndal",
"description": "![[EU/SWE] Judge.se Vanilla Low decay](http://judge.se/bilder/header1.jpg)\n[EU/SWE] Judge.se Vanilla Low Decay \r\n Raid-time protection off Mon - Thur 15:00-22:00 UTC, Fri 15:00 - Sun 22:00 \r\n No Cheating, Any use of exploits or cheats results in a permanent ban \r\n Team size max 5 \r\n You are only allowed to roam, raid farm etc, with the 5 members in your team \r\n No temporary swaps of team members allowed unless a member becomes permanently inactive \r\n Breaking team limits may lead to a temporary ban for the entire group, duration at admin discretion \r\n No spamming in chat\r\n Use only English or Swedish in global chat. Racism in any form (voice, text, or signs) is strictly prohibited and bannable \r\n Admins may participate in gameplay as regular players without using administrative tools \r\n No attempt to bybass the rules on a technicality or to lie to the admins \r\n We are here to play, not to babysit. Follow the rules or leave",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776826995,
"score": 0,
"last_online": 1776879021,
"icon": null,
"name": "[EU/SWE] Judge.se Vanilla Low decay",
"connect": "155.4.225.129:29016",
"request": "155.4.225.129:29017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 2,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "SE",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1761421296,
"last_update": 1776879021,
"banned": false,
"wipe": 1776363373,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2437,
"language": "sv",
"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/10508386");
$data = json_decode($json, true);
var_dump($data);