TeddyTT 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 128,
"fps_avg": 128,
"entities_count": 3156,
"world_seed": 486328,
"world_size": 6000,
"steam_id": "90285934030041114",
"domain": null,
"id": 11260022,
"ip": "88.99.65.159",
"port": 28017,
"query": 28018,
"color": 0,
"city": "Falkenstein",
"description": "TeddyTT: Play • Replay • Improve\r\n\r\nTeddyTT.GG is a highly optimized, skill-based time trial server designed to sharpen your Rust mechanics. We provide the ultimate environment to master the grind.\r\n\r\nWhy chill With Us?\r\nCustom Courses: High-octane helicopter tracks and precision firing ranges.\r\n\r\nData-Driven Growth: Visit TeddyTT.GG to see stats, track your rankings and download demos to see exactly where you’re losing time.\r\n\r\nEarn Rewards: Complete weekly challenges to unlock exclusive items and Teddy Tokens in our blackbox recovery battlepass.\r\n\r\nThe Future of TeddyTT\r\nwe’re a community. We’re currently planning new game modes and will soon integrate user-generated content from our players.\r\n\r\nJoin our Discord to give feedback, find a crew, and enter our Alpha-phase Giveaway!\r\n\r\nMade with love for the Rust community.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779159772,
"last_online": 1779204021,
"icon": null,
"name": "TeddyTT",
"connect": "88.99.65.159:28017",
"request": "88.99.65.159:28018",
"map": "Custom Map",
"gamemode": "Vanilla",
"version": "2624",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555185,
"last_update": 1779204021,
"banned": false,
"wipe": 1778179290,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4299,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11260022");
$data = json_decode($json, true);
var_dump($data);