Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/7467101
json
{
  "response": {
    "fps": 78,
    "fps_avg": 74,
    "entities_count": 91659,
    "world_seed": 1470519689,
    "world_size": 3500,
    "steam_id": "90286577763593241",
    "domain": null,
    "id": 7467101,
    "ip": "51.159.100.179",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Paris",
    "description": "![GE-Rust-PVE|X2|Stack5x|Zombies|NpcLoot|Events|Dungeons](https://www.games-expert.com/images/ban_server_pve.png)\nEN - FR ->WIPE Map only\r\n\r\nEN :\r\nCustom PvE X2 on a 4000-size map.\r\nAll monuments are fully playable and crawling with surprises.\r\nZombies roam the world to keep the thrill alive!\r\nEngage in epic battles with custom NPCs, conquer dungeons,\r\nand take part in monument events and quest-based missions.\r\nPerfect for both new players and veterans.\r\nStack X5, learning friendly, and chill atmosphere.\r\n/!\\ Stay respectful – It’s just a game! /!\\\r\nMonthly wipes of map only to keep things fresh.\r\nExplore, survive, train, and thrive!\r\n\r\nFR : \r\nPvE custom en X2 sur une carte taille 4000.\r\nTous les monuments sont jouables et remplis de surprises.\r\nLes zombies rôdent pour maintenir le frisson !\r\nAffrontez des PNJ custom, explorez des donjons,\r\nparticipez à des événements et accomplissez des quêtes.\r\nParfait pour débutants et vétérans.\r\nStack X5, zone d'apprentissage et ambiance détendue.\r\n/!\\ Restez respectueux – Ce n'est qu'un jeu ! /!\\\r\nWipes mensuels de la map seulement pour garder l'aventure palpitante.\r\nExplorez, survivez, entraînez-vous, et prospérez !",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780540462,
    "last_online": 1780604434,
    "icon": null,
    "name": "GE-Rust-PVE|X2|Stack5x|Zombies|NpcLoot|Events|Dungeons",
    "connect": "51.159.100.179:28015",
    "request": "51.159.100.179:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1739234740,
    "last_update": 1780604434,
    "banned": false,
    "wipe": 1778178283,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3389,
    "language": "fr",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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