重生末日:我穿越到了七天后 için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": 90286482521622530,
"domain": null,
"id": 11598290,
"ip": "103.37.44.18",
"port": 21461,
"query": 21461,
"color": 0,
"city": "Wuxi",
"description": "别摸了兄弟,那不是枪",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1780305262,
"last_online": 1780346432,
"icon": null,
"name": "重生末日:我穿越到了七天后",
"connect": "103.37.44.18:21461",
"request": "103.37.44.18:21461",
"map": "map_distanciado;rvupdate;map_rv",
"gamemode": "Project Zomboid",
"version": "42.19",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": true,
"country": "CN",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779358694,
"last_update": 1780346432,
"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": 2419,
"language": "zh",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11598290");
$data = json_decode($json, true);
var_dump($data);