JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/9527916
json
{
  "response": {
    "steam_id": "90286735225860124",
    "domain": null,
    "id": 9527916,
    "ip": "115.42.46.218",
    "port": 28035,
    "query": 28037,
    "project_id": null,
    "color": 0,
    "city": "Los Angeles",
    "description": "![Pandemic PvE  - No Raid, No Kill - Starter Kit](https://imgur.com/a/3QeNaf7.png)\n* Over Five Years Old (est. July 2020) - Friendly Staff \r\n * Monthly Wipes, We Never Reset Your Progression! Keep Your Game Coin, ZLevels (up-to 10x), Personal Vehicles,  Achieved Rank and Bank Deposits  \r\n * Access to More & More Plugins for FREE by Ranking, Earned From Your Playtime.  \r\n * Robust Shop, Personal Permanent Vehicles. \r\n * Creative Staff, with PvP Events, Building Contests, and Fortified Monuments. \r\n * Teleport to Home, Players (tpr/tpa), Outpost, Bandit and to Youur Body, if You Die. (/where tp) \r\n * Airfield Event, Cargo Plane Crash, Heli Crash w/Guards, Guarded Crates, Dangerous Treasures, Tugboat Pirates,  Personal Attack Heli Signals, Bradley Signals, Bradley Tiers w/Guards Zombie Hordes, Big Daddy Boss, Custom Bots at Most Monuments  (Peacekeeper Mode) HuntsMan Boss, Raidable Bases and Plenty to do for the Blood Thirsty and Greedy. \r\n * Skinbox, Instacraft, Full Repair, No Burn Meat, No Flykick, Clans, Player Challenges, Quests, 30,000 Stack Sizes, Looting/Raiding/Stealing Protection Kind to Players, Hard on Trolls, Strict on Players Found Raiding, Killing or Cheating!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780884849,
    "last_online": 1780915234,
    "icon": null,
    "name": "Pandemic PvE  - No Raid, No Kill - Starter Kit",
    "connect": "115.42.46.218:28035",
    "request": "115.42.46.218:28037",
    "map": "Procedural Map",
    "gamemode": "Rust",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1750537979,
    "last_update": 1780915234,
    "banned": false,
    "wipe": 1780605411,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3519,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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