amasdasd-32-PVE-仙境-Q:67679331(12通PVE,养老,公益� için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286894995730461",
"domain": null,
"id": 11742702,
"ip": "202.189.10.150",
"port": 35121,
"query": 35123,
"project_id": null,
"color": 0,
"city": "Beijing",
"description": null,
"game": 346110,
"owner": null,
"boosts": 1,
"last_offline": 1781211832,
"last_online": 1781535052,
"icon": null,
"name": "amasdasd-32-PVE-仙境-Q:67679331(12通PVE,养老,公益�",
"connect": "202.189.10.150:35121",
"request": "202.189.10.150:35123",
"map": "Ragnarok",
"gamemode": "TestGameMode_C",
"version": "1.0.0.0",
"numplayers": 4,
"maxplayers": 70,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 34,
"add_date": 1780518527,
"last_update": 1781535052,
"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": 1882,
"language": "zh",
"parked": false,
"app": {
"id": 67,
"steam_id": 346110,
"name": "ARK: Survival Evolved",
"url": "ark-survival-evolved"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11742702");
$data = json_decode($json, true);
var_dump($data);