Hurtworld
【醉落】10倍 矿弓 流星 宝箱 için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11487723json
{
"response": {
"steam_id": "90284683894439955",
"domain": null,
"id": 11487723,
"ip": "117.24.4.210",
"port": 11998,
"query": 12872,
"color": 0,
"city": "Wenquan",
"description": null,
"game": 393420,
"owner": 183962,
"boosts": 1,
"last_offline": 1776460403,
"score": 0,
"last_online": 1776780020,
"icon": null,
"name": "【醉落】10倍 矿弓 流星 宝箱",
"connect": "117.24.4.210:11998",
"request": "117.24.4.210:12872",
"map": "群1073116496",
"gamemode": "Hurtworld",
"version": "191",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": true,
"country": "CN",
"status": true,
"votes": 0,
"points": 66,
"add_date": 1774979761,
"last_update": 1776780020,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4,
"language": "zh",
"parked": false,
"app": {
"id": 134,
"steam_id": 393420,
"name": "Hurtworld",
"url": "hurtworld"
},
"server_owner": {
"username": "zuiluo",
"avatar": "5dd75965-8973-406a-9dce-2cd1fad2b9a5.png",
"last_online": 1775221688
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11487723");
$data = json_decode($json, true);
var_dump($data);