Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11491962
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 11491962,
    "ip": "179.61.132.125",
    "port": 7777,
    "query": 7777,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "[{\"id\":\"0GGhej1Gse\",\"type\":\"paragraph\",\"data\":{\"text\":\"Secure account registration. Ability to choose between playing in Freeroam or Roleplay, with many different features inclusive to each.\\n\\nVehicle schools & licenses: driving, bike, flying, boat, and trucking.\\n\\nJobs: Buses, Trucking, Pizzaboy, Streak, Combine, Trash, Securicar, Sprunk.\\n\\nExport vehicles, buy/rent properties, businesses + shares (inc. extortion), a very diverse organizations/factions system built with different categories - each with many inclusive features, vehicle dealerships, banks + ATMs, rent lockups, dynamic events system, clothing stores and wear clothing, zone names (inc. zone turf wars), airport travelling, weather (inc. snow), 24 hours-to-minutes clock, stores with many useful items, responsive actors, solo races & score lists, interactive store robberies, property & ammunation robberies, weapon/explosives crafting, buy and sell weapons/explosives/drugs, rob ATMs with explosives, weapon/explosives crafting, inventory lists, vehicle boot & property safe storage, put a player in a boot, custom wanted levels (maximum 8 stars), fighting styles learned at gyms, daily achievements, user stats, server stats, a leader board with many types (inc. top 10 lists for each type)\\n\\nServer side money. Server side vehicle mod shops. Server side Ammunations (+ an illegal gun dealers in East Los Santos). Server side damage (weapon-config).\\n\\nTonnes of custom skins, maps & interiors, many custom objects - inc. garage doors to support lockups, custom pay n sprays, mod shop & bomb shop doors; also including many skins and interiors from GTA III, VC, and VCS.\\n\\nAdvanced admin system, helpdesk, and many methods of self help (inc. a virtual tutorial, interior tour guide, actor/player interactive RP School, & much more)\\nVIP system - earn points to use on various VIP packages and unlock the many features inclusive to VIP members.\\n\"}}]",
    "game": 9000035,
    "owner": 192540,
    "boosts": 1,
    "last_offline": 1777827813,
    "score": 5,
    "last_online": 1778088613,
    "icon": null,
    "name": "Cozy Corner - Freeroam/Roleplay [open.mp]",
    "connect": "179.61.132.125:7777",
    "request": "179.61.132.125:7777",
    "map": "San Andreas",
    "gamemode": "Freeroam/Roleplay/RPG",
    "version": "omp 1.5.8.3079",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 7,
    "points": 98,
    "add_date": 1777827813,
    "last_update": 1778088613,
    "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": 7,
    "language": "en",
    "parked": false,
    "app": {
      "id": 168,
      "steam_id": 9000035,
      "name": "Samp",
      "url": "samp"
    },
    "server_owner": {
      "username": "fackyobro_gammont",
      "avatar": "no.jpg",
      "last_online": 1778040717
    },
    "mods": [
      {
        "id": 2311,
        "name": "Freeroam/Roleplay"
      }
    ],
    "disabled_modules": []
  }
}

Kod örnekleri

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