Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/762490
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 121200,
    "world_seed": 1023990768,
    "world_size": 4500,
    "steam_id": "90286603985740809",
    "domain": null,
    "id": 762490,
    "ip": "104.129.132.51",
    "port": 28028,
    "query": 28025,
    "color": 0,
    "city": "Dallas",
    "description": "![Spice Island | 2x Monthly](https://i.imgur.com/uTEcXNZ.jpeg)\nNoob Friendly\r\nNo Pay to Win\r\nNo BP Wipes\r\nMonthly Map Wipe\r\nActive Admins\r\n\r\nRULES:\r\n1. No Cheating.\r\n2. No Racism, Discrimination, Bullying, Stalking, Sexual Harassment or Other Toxic Behavior.\r\n3. No Age-Restricted or Obscene Content. This includes but is not limited to Text, Images, Video, VOIP, or Links.\r\n4. No Spam or Self-Promotion (Server Invites, Advertisements, etc)\r\n\r\nClick 'View Webpage' to Join Discord",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780596270,
    "last_online": 1780605026,
    "icon": null,
    "name": "Spice Island | 2x Monthly",
    "connect": "104.129.132.51:28028",
    "request": "104.129.132.51:28025",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 18,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 68,
    "add_date": 1680789653,
    "last_update": 1780605026,
    "banned": false,
    "wipe": 1780596305,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 976,
    "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/762490");
$data = json_decode($json, true);
var_dump($data);