API dla 野生RPG|PVE|5.25新开
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": "90286575698965526",
"domain": null,
"id": 11726385,
"ip": "202.189.13.148",
"port": 46004,
"query": 46004,
"color": 0,
"city": "Jinan",
"description": "<RGB:1,0.84,0>QQ群:288032298",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1780388683,
"last_online": 1780534236,
"icon": null,
"name": "野生RPG|PVE|5.25新开",
"connect": "202.189.13.148:46004",
"request": "202.189.13.148:46004",
"map": "map_distanciado;Chinatown B42 v",
"gamemode": "Project Zomboid",
"version": "42.19",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780388683,
"last_update": 1780534236,
"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": 3304,
"language": "zh",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11726385");
$data = json_decode($json, true);
var_dump($data);