API pentru POLAR | EU Solo Only | Monthly | No BP Wipe 04/02 02.04

JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/4138922
json
{
  "response": {
    "fps": 42,
    "fps_avg": 42,
    "entities_count": 104309,
    "world_seed": 1337,
    "world_size": 3750,
    "steam_id": "90284839977328651",
    "domain": null,
    "id": 4138922,
    "ip": "168.100.161.191",
    "port": 28065,
    "query": 28066,
    "color": 0,
    "city": "London",
    "description": "![POLAR | EU Solo Only | Monthly | No BP Wipe 04/02 02.04](https://live.staticflickr.com/65535/54823952817_d4a9b5604e_b.jpg)\nSERVER RULES @ DISCORD.GG/POLARRUST | VIP @ STORE.POLARRUST.COM\r\n\r\nMap Wipe(s):\r\n• Monthly @ Force\r\n• 5 Week Month Rewipe @ 4th Thursday of Month, 4pm UK time\r\n\r\nBlueprint Wipe:\r\nN/A (Never blueprint wipes)\r\n\r\nFEATURES:\r\n• 32 Turret Limit\r\n• Minicopters Spawn On Roads\r\n• Extra Recyclers/Drones/Refineries @ Fishing/Ranch",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775690523,
    "score": 0,
    "last_online": 1776961819,
    "icon": null,
    "name": "POLAR | EU Solo Only | Monthly | No BP Wipe 04/02 02.04",
    "connect": "168.100.161.191:28065",
    "request": "168.100.161.191:28066",
    "map": "Wiped 20 Days ago",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 8,
    "maxplayers": 125,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 63,
    "add_date": 1714809926,
    "last_update": 1776961819,
    "banned": false,
    "wipe": 1775152788,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1357,
    "language": "en",
    "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/4138922");
$data = json_decode($json, true);
var_dump($data);