JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/5239932
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 69172,
    "world_seed": 1412105248,
    "world_size": 3500,
    "steam_id": "90286678931642381",
    "domain": null,
    "id": 5239932,
    "ip": "141.95.139.26",
    "port": 28021,
    "query": 28020,
    "project_id": null,
    "color": 0,
    "city": "Roubaix",
    "description": "![[EU] Rust-France - DEBUTANT - SOLO/DUO/TRIO  | FULLWIPED 06/06 ](https://rust-france.net/img/Debutant-V2.jpg)\nFULLWIPED: Saturday 6PM (CET/CEST)\r\n\r\n--- Français ---\r\nServeur Débutant Rust-France\r\n\r\n- Lundi à Jeudi: 18h–23h → 2 raids max par jour (Si dépassement: BAN auto)\r\n- Vendredi 18h à Samedi 18h → Aucune limite de raid\r\n- FullWipe Samedi à 18h\r\n- Samedi (jour du wipe): Raids interdits\r\n- Dimanche 16h–23h → 2 raids max par jour (Si dépassement: BAN auto)\r\n\r\nAutres règles:\r\n- Team max: 3\r\n- Débutants et confirmés autorisés\r\n- Alliances interdites\r\n- Triche / exploit de bug interdit\r\n- VPN / Proxy interdit\r\n- Autokick: VAC < 3 mois ou ≥ 1 VAC ban\r\n- Toute personne jouant sur le serveur accepte ces règles sous peine de sanction.\r\n\r\n--- English ---\r\nRust-France Beginner Server\r\n\r\n- Monday to Thursday: 6PM–11PM (CET/CEST) → 2 raids/day (automatic BAN if exceeded)\r\n- Friday 6PM to Saturday 6PM (CET/CEST) → No raid limit\r\n- FullWipe on Saturday at 6PM (CET/CEST)\r\n- Saturday (wipe day): Raids are forbidden\r\n- Sunday 4PM–11PM (CET/CEST) → 2 raids/day (automatic BAN if exceeded)\r\n\r\nOther rules:\r\n- Max team: 3\r\n- Beginners and advanced players allowed\r\n- Alliances forbidden\r\n- Any cheating or bug abuse is prohibited\r\n- VPN / Proxy not allowed\r\n- Autokick: VAC ban within 3 months or 1+ VAC bans\r\n- Anyone playing on the server must follow the rules or face sanctions.\r\n\r\n--- Liens / Links ---\r\nWebsite: https://rust-france.net\r\nDiscord: https://discord.gg/rust-france\r\nSteam: https://steamcommunity.com/groups/rustfrancecommunity",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780761862,
    "last_online": 1780909825,
    "icon": null,
    "name": "[EU] Rust-France - DEBUTANT - SOLO/DUO/TRIO  | FULLWIPED 06/06",
    "connect": "141.95.139.26:28021",
    "request": "141.95.139.26:28020",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 7,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 63,
    "add_date": 1721239925,
    "last_update": 1780909825,
    "banned": false,
    "wipe": 1780761293,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1183,
    "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/5239932");
$data = json_decode($json, true);
var_dump($data);