API pentru Boat Building | Admin Menu | F1 Items | MedioTesting Procedural

JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11159411
json
{
  "response": {
    "fps": 15,
    "fps_avg": 18,
    "entities_count": 101185,
    "world_seed": 32432,
    "world_size": 4000,
    "steam_id": 90285021541742600,
    "domain": null,
    "id": 11159411,
    "ip": "135.181.5.214",
    "port": 25575,
    "query": 25577,
    "color": 0,
    "city": "Helsinki",
    "description": "![Boat Building | Admin Menu | F1 Items | MedioTesting Procedural](https://i.postimg.cc/GmdsBHV1/Mediotesting-Pfp.png)\nTRACK SPEED OF YOUR BOAT AND IT'S COST\r\n This server is testing purpose only\r\n---------------------------\r\n- Behave nice\r\n- Dont try to do something that breaks server\r\n-------------------\r\nCreated and mainated by MediocratyItself",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777075391,
    "score": 0,
    "last_online": 1777315219,
    "icon": null,
    "name": "Boat Building | Admin Menu | F1 Items | MedioTesting Procedural",
    "connect": "135.181.5.214:25575",
    "request": "135.181.5.214:25577",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 13,
    "maxplayers": 100,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "FI",
    "status": true,
    "votes": 0,
    "points": 67,
    "add_date": 1772228127,
    "last_update": 1777315219,
    "banned": false,
    "wipe": 1777075524,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 958,
    "language": "fi",
    "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/11159411");
$data = json_decode($json, true);
var_dump($data);