JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11260993
json
{
  "response": {
    "fps": 81,
    "fps_avg": 81,
    "entities_count": 112613,
    "world_seed": 1337,
    "world_size": 4000,
    "steam_id": "90286574728774675",
    "domain": null,
    "id": 11260993,
    "ip": "202.189.23.219",
    "port": 60001,
    "query": 60004,
    "color": 0,
    "city": "Beijing",
    "description": "![[度假岛]PVE/装备成长/升级/宗门/炼丹/凡人修仙�](https://pan.rustxz.com/f/4DdFV/pve.png)\n欢迎━(*`∀´*)ノ加入本服游玩!本服为pve模式,死亡不会掉落,玩家之间没有伤害且防偷防抢,每月清档会保留额外背包物资,非常适合萌新、上班族及养老玩家;对于喜欢刺激的伙伴,也有30多项活动等你挑战!本服采用自定义地图,强盗营地合并在前哨站。\r\n本服QQ群:675491134,玩法内容如下:\r\n\r\n特色修仙框架,通过各种方式皆可升级等级,等级不清档永久保留;动态倍率(通过修仙面板提高)。\r\n特色武器、装备成长强化,宗门、宗门战、炼丹、无尽深渊挑战、任务系统、玩家交易市场、抽卡、图鉴、种植钓鱼。\r\n【活动内容】抄npc基地、npc抄家、港口货轮、极地救援、海底沉船、海上潜艇、吃鸡活动、装甲列车等30多项活动,且持续更新,好玩不腻。\r\n【功能娱乐】额外背包(通过升级可扩展更多容量)、喷气背包(飞行)、弹簧高跷等多种额外物品。\r\n【其他内容】自动农场、自动钓鱼、双翼飞机、专属小飞机、传送、夜视、免电加速10层电梯、挖掘机使用保护、火箭弹连发、远程储存等。\r\n【清档说明】每月月初同步官清,清档保留修仙等级、灵石与额外背包。\r\n游戏交流及问题反馈可加q群:675491134  有入群礼包",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780605202,
    "last_online": 1780581043,
    "icon": null,
    "name": "[度假岛]PVE/装备成长/升级/宗门/炼丹/凡人修仙�",
    "connect": "202.189.23.219:60001",
    "request": "202.189.23.219:60004",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 300,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CN",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1774555214,
    "last_update": 1780605202,
    "banned": false,
    "wipe": 1778196936,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10484,
    "language": "zh",
    "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/11260993");
$data = json_decode($json, true);
var_dump($data);