API pentru 420 Chill | RE2 / Pure PVP / Instant BP Repair

JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/10430620
json
{
  "response": {
    "steam_id": "90284560173145105",
    "domain": null,
    "id": 10430620,
    "ip": "8.36.254.194",
    "port": 30010,
    "query": 30011,
    "color": 0,
    "city": "Great Bend",
    "description": null,
    "game": 383120,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775749324,
    "score": 0,
    "last_online": 1776445838,
    "icon": null,
    "name": "420 Chill | RE2 / Pure PVP / Instant BP Repair",
    "connect": "8.36.254.194:30010",
    "request": "8.36.254.194:30011",
    "map": null,
    "gamemode": "Empyrion - Galactic Survival",
    "version": "v1.16.1",
    "numplayers": 3,
    "maxplayers": 100,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 33,
    "add_date": 1759828937,
    "last_update": 1776445838,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 47,
    "language": "en",
    "parked": false,
    "app": {
      "id": 140,
      "steam_id": 383120,
      "name": "Empyrion - Galactic Survival",
      "url": "empyrion-galactic-survival"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10430620");
$data = json_decode($json, true);
var_dump($data);