V Rising
《胖虎》测试-2 için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11449327json
{
"response": {
"steam_id": "90285651878040586",
"domain": null,
"id": 11449327,
"ip": "121.11.204.37",
"port": 20006,
"query": 20007,
"color": 0,
"city": "Guangzhou",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1778594581,
"score": 0,
"last_online": 1778574735,
"icon": null,
"name": "《胖虎》测试-2",
"connect": "121.11.204.37:20006",
"request": "121.11.204.37:20007",
"map": "VRisingWorld",
"gamemode": "3072f321-3f4e-42b3-9d2c-88e3f2a88d69",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 80,
"bots": 0,
"secured": true,
"private": true,
"country": "CN",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774977968,
"last_update": 1778594581,
"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": 2517,
"language": "zh",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11449327");
$data = json_decode($json, true);
var_dump($data);