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

text
https://api.gamemonitoring.in/servers/10870771
json
{
  "response": {
    "steam_id": "90284799141892126",
    "domain": null,
    "id": 10870771,
    "ip": "95.95.53.187",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Vila Nova de Gaia",
    "description": "![RusTuga PvP+PvE Low Decay | Unique Mods](https://i.imgur.com/2WGXx4B.png)\nRusTuga® Original!\r\nPvP | PvE | RPG\r\n\r\nFeatures:\r\n\r\n•Vanilla with unique and exclusive features, designed to provide a personalized   experience that feels like part of the original game. Want to know more?\r\nJoin our Discord to explore all the details and never miss out on the amazing features we have to offer!\r\n\r\n•After a wipe, players can choose between PvP or PvE when they join.\r\n\r\n•PvE Players: Protected from other players, while facing NPCs and other game challenges.\r\n\r\n•PvP Players: Play the original game mode against each other, but cannot attack, steal, or destroy the builds of PvE players, ensuring PvE spaces are respected.\r\n\r\n•Full flexibility for all players to play in the same server, in the same space, respecting each player’s game mode choice.\r\n\r\nCheck out our other servers:\r\n\r\n•RusTuga 100% Vanilla PT/EU – The true Vanilla experience.\r\n\r\n•RusTuga Wild West PT/EU – Wild West adventure!\r\n\r\n•RusTuga PvP Battlefield x1000000 PT/EU – Extreme PvP with a Battlefield twist!\r\n\r\n•RusTuga Medieval PT/EU – Primitive adventure!\r\n\r\nOriginally founded in 2016, fully restructured and taken over in 2020, evolving ever since.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776823398,
    "score": 0,
    "last_online": 1776859223,
    "icon": null,
    "name": "RusTuga PvP+PvE Low Decay | Unique Mods",
    "connect": "95.95.53.187:28015",
    "request": "95.95.53.187:28017",
    "map": "Wipe in: 15d 5h",
    "gamemode": "Rust",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "PT",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1768318468,
    "last_update": 1776859223,
    "banned": false,
    "wipe": 1775196456,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4279,
    "language": "pt",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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