JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11305380
json
{
  "response": {
    "steam_id": "90284710599198733",
    "domain": null,
    "id": 11305380,
    "ip": "185.44.80.38",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Nanterre",
    "description": "![RFCGAMES.COM - EU | RUST INVADERS](https://cdn.discordapp.com/attachments/767348941116145665/1456309350175080560/image_serveur.jpg?ex=6957e546&is=695693c6&hm=2879a68860559e467369c08f095dff8398c55fb9b75087efb08b9b2d34fb0ae3)\nRFC GAMES – Competitive Mini-Games Server Structured Competitive Gameplay\r\n \r\n We offer : \r\n \r\n - Team-based competition (teams of 3 players) \r\n - 10 minutes of farming and building to create and prepare your base \r\n - 30 minutes of PvP and raiding action \r\n - Fast-paced matches focused on skill, strategy, and teamwork \r\n - Regular updates, events, and new competitive modes \r\n \r\n Join RFC GAMES and prove your team is the strongest on the battlefield. Visit our website and join our Discord to stay updated and connect with the community.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774592884,
    "score": 0,
    "last_online": 1776819157,
    "icon": null,
    "name": "RFCGAMES.COM - EU | RUST INVADERS",
    "connect": "185.44.80.38:28015",
    "request": "185.44.80.38:28017",
    "map": "Custom Map",
    "gamemode": "Rust",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1774592884,
    "last_update": 1776819157,
    "banned": false,
    "wipe": 1775251577,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5153,
    "language": "fr",
    "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/11305380");
$data = json_decode($json, true);
var_dump($data);