Kayla's Hangout - LGBTQIA+ Friendly 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286449678058512",
"domain": null,
"id": 8727662,
"ip": "46.202.89.91",
"port": 27022,
"query": 27022,
"project_id": null,
"color": 0,
"city": "Boston",
"description": null,
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1779240185,
"last_online": 1781212366,
"icon": null,
"name": "Kayla's Hangout - LGBTQIA+ Friendly",
"connect": "46.202.89.91:27022",
"request": "46.202.89.91:27022",
"map": "cp_gravelpit_snowy",
"gamemode": "Team Fortress",
"version": "10682184",
"numplayers": 0,
"maxplayers": 15,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1745827735,
"last_update": 1781212366,
"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": 949,
"language": "en",
"parked": false,
"app": {
"id": 24,
"steam_id": 440,
"name": "Team Fortress 2",
"url": "team-fortress-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/8727662");
$data = json_decode($json, true);
var_dump($data);