芝豆六 için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286529733356568",
"domain": null,
"id": 11660435,
"ip": "43.248.116.114",
"port": 14140,
"query": 14141,
"color": 0,
"city": "Zhenjiang",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780590810,
"last_online": 1780476791,
"icon": null,
"name": "芝豆六",
"connect": "43.248.116.114:14140",
"request": "43.248.116.114:14141",
"map": "VRisingWorld",
"gamemode": "9bd8f0f6-3ead-419b-a31c-d500d47f67f6",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "CN",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780178461,
"last_update": 1780590810,
"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": 4492,
"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/11660435");
$data = json_decode($json, true);
var_dump($data);