Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10508591
json
{
  "response": {
    "fps": 103,
    "fps_avg": 102,
    "entities_count": 89733,
    "world_seed": 628639171,
    "world_size": 4000,
    "steam_id": "90286626215993351",
    "domain": null,
    "id": 10508591,
    "ip": "107.5.30.219",
    "port": 28025,
    "query": 28027,
    "color": 0,
    "city": "Grand Blanc",
    "description": "![5/8 Rust-A-Holics.com 5x PVE/PVP DAY/NIGHT | NPC Raid Bases | K](https://media.discordapp.net/attachments/725962203202584588/1105660938473971733/Ingame.png)\nThe ORIGINAL PVE-Day/PVP-Night Server! Originating on April 6, 2016.\r\n\r\nExperience a well-balanced modded experience made to cater to those who love PVE, but like to dabble in PVP! You and your base are safe from 06:00-17:59 in-game, but all hell breaks loose at 18:00!\r\n\r\nWith over 100 plugins, we're guaranteed to offer you a feature you'll love...and if not, just ask! We love to build our servers based off of the community's desires.\r\n\r\nSee you in-game! Remember...Trust No Naked!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780620253,
    "last_online": 1780671633,
    "icon": null,
    "name": "5/8 Rust-A-Holics.com 5x PVE/PVP DAY/NIGHT | NPC Raid Bases | K",
    "connect": "107.5.30.219:28025",
    "request": "107.5.30.219:28027",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 500,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1761421334,
    "last_update": 1780671633,
    "banned": false,
    "wipe": 1780620501,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3911,
    "language": "en",
    "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/10508591");
$data = json_decode($json, true);
var_dump($data);