NGNW.pl [Only DD2 #1 | CLASSIC | SVIP 23-8 | WSKRZESZANIE | FREE VIP STEAM&LOSOWANIE SVIP | SKINY&ASYSTY] के लिए API

प्रोग्राम, वेबसाइट और अन्य के लिए JSON

text
https://api.gamemonitoring.in/servers/176671
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 176671,
    "ip": "54.38.131.56",
    "port": 27015,
    "query": 27015,
    "color": 0,
    "city": "Wroclaw",
    "description": "",
    "game": 10,
    "owner": null,
    "boosts": 1,
    "last_offline": 1768640963,
    "score": null,
    "last_online": 1776184811,
    "icon": null,
    "name": "NGNW.pl [Only DD2 #1 | CLASSIC | SVIP 23-8 | WSKRZESZANIE | FREE VIP STEAM&LOSOWANIE SVIP | SKINY&ASYSTY]",
    "connect": "54.38.131.56:27015",
    "request": "54.38.131.56:27015",
    "map": "de_dust2",
    "gamemode": "× TOP DD2 #1 ×",
    "version": "1.1.2.7/Stdio",
    "numplayers": 32,
    "maxplayers": 32,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "PL",
    "status": true,
    "votes": 0,
    "points": 101,
    "add_date": 1553774586,
    "last_update": 1776184811,
    "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": 129,
    "language": "pl",
    "parked": false,
    "app": {
      "id": 3,
      "steam_id": 10,
      "name": "Counter-Strike",
      "url": "counter-strike"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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