API pentru 4/30三倍(原版残酷模式)加魔宠WaHaHa
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"steam_id": "90286573806952449",
"domain": null,
"id": 11624129,
"ip": "106.75.236.207",
"port": 9876,
"query": 9877,
"color": 0,
"city": "Yangpu",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780263851,
"last_online": 1780578663,
"icon": null,
"name": "4/30三倍(原版残酷模式)加魔宠WaHaHa",
"connect": "106.75.236.207:9876",
"request": "106.75.236.207:9877",
"map": "VRisingWorld",
"gamemode": "af765d9b-f81d-43f3-81a0-f4599a59b0b0",
"version": "0.0.0.1",
"numplayers": 1,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1779916134,
"last_update": 1780578663,
"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": 334,
"language": "zh",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11624129");
$data = json_decode($json, true);
var_dump($data);