GE-Rust [EU]|X2|Stack5x|Zombies|NpcLoot|Events|Dungeons 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 47,
"fps_avg": 45,
"entities_count": 171436,
"world_seed": 1187942,
"world_size": 5000,
"steam_id": "90286577151977497",
"domain": null,
"id": 7467097,
"ip": "51.159.100.179",
"port": 28017,
"query": 28018,
"color": 0,
"city": "Paris",
"description": "![GE-Rust [EU]|X2|Stack5x|Zombies|NpcLoot|Events|Dungeons](https://www.games-expert.com/images/ban_server_pvp.png)\nEN - FR ->\r\nFULL WIPE\r\n\r\nEN : \r\nCustom PvP X2 on a 5000 size map.\r\nJoin us for epic battles and a welcoming community where fair play is the golden rule.\r\nZombies roam to keep the thrill alive!\r\nFace custom NPCs, explore dungeons,\r\ntake part in events, and complete quests.\r\nPerfect for both beginners and veterans.\r\nStack X5, relaxed atmosphere.\r\n/!\\ Stay respectful – It’s just a game! /!\\\r\nMonthly full wipe to keep the adventure exciting.\r\nExplore, survive, and thrive!\r\n\r\nFR : \r\nPvP custom en X2 sur une carte taille 5000.\r\nRejoignez-nous pour des batailles épiques et une communauté accueillante où le fair-play est la règle d'or.\r\nLes zombies rôdent pour maintenir le frisson !\r\nAffrontez des PNJ custom, explorez des donjons,\r\nparticipez à des événements et accomplissez des quêtes.\r\nParfait pour débutants et vétérans.\r\nStack10x, ambiance détendue.\r\n/!\\ Restez respectueux – Ce n'est qu'un jeu ! /!\\\r\nFull Wipe mensuel pour garder l'aventure palpitante.\r\nExplorez, survivez, et prospérez !",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780538665,
"last_online": 1780607431,
"icon": null,
"name": "GE-Rust [EU]|X2|Stack5x|Zombies|NpcLoot|Events|Dungeons",
"connect": "51.159.100.179:28017",
"request": "51.159.100.179:28018",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1739234739,
"last_update": 1780607431,
"banned": false,
"wipe": 1778245384,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3376,
"language": "fr",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/7467097");
$data = json_decode($json, true);
var_dump($data);