API pentru [PvE/Dedicated/Discord] https://Valentine.Community

JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11108872
json
{
  "response": {
    "steam_id": "90284420342948867",
    "domain": null,
    "id": 11108872,
    "ip": "148.113.206.15",
    "port": 7777,
    "query": 7778,
    "color": 0,
    "city": "Montreal",
    "description": null,
    "game": 2168680,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776280314,
    "score": 0,
    "last_online": 1777494654,
    "icon": null,
    "name": "[PvE/Dedicated/Discord] https://Valentine.Community",
    "connect": "148.113.206.15:7777",
    "request": "148.113.206.15:7778",
    "map": "Heartland | ValCo Escalation Co",
    "gamemode": "Nuclear Option Server",
    "version": "0.33.0",
    "numplayers": 0,
    "maxplayers": 32,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CA",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1770038225,
    "last_update": 1777494654,
    "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": 21,
    "language": "en",
    "parked": false,
    "app": {
      "id": 1615382,
      "steam_id": 2168680,
      "name": "Nuclear Option",
      "url": "nuclear-option"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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