Squad 44
[Ci5] Australian Public Server 1 | New players welcome | discor 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/4311720json
{
"response": {
"steam_id": "90284553340848132",
"domain": null,
"id": 4311720,
"ip": "103.77.233.194",
"port": 20101,
"query": 20106,
"color": 0,
"city": "Sydney",
"description": "",
"game": 736220,
"owner": null,
"boosts": 1,
"last_offline": 1776399222,
"score": 0,
"last_online": 1776418270,
"icon": null,
"name": "[Ci5] Australian Public Server 1 | New players welcome | discor",
"connect": "103.77.233.194:20101",
"request": "103.77.233.194:20106",
"map": "Arnhem Seeding 01",
"gamemode": "Seeding",
"version": "v2.6.1.566911",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1715942327,
"last_update": 1776418270,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 11,
"language": "en",
"parked": false,
"app": {
"id": 19973,
"steam_id": 736220,
"name": "Squad 44",
"url": "squad-44"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/4311720");
$data = json_decode($json, true);
var_dump($data);