Team Fortress Classic
BoB the Server - Low Gravity -AWS- beta के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/794737json
{
"response": {
"steam_id": 90284602161294350,
"domain": null,
"id": 794737,
"ip": "54.188.146.29",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Portland",
"description": "",
"game": 20,
"owner": null,
"boosts": 1,
"last_offline": 1776509607,
"score": null,
"last_online": 1776522634,
"icon": null,
"name": "BoB the Server - Low Gravity -AWS- beta",
"connect": "54.188.146.29:27015",
"request": "54.188.146.29:27015",
"map": "flagrun",
"gamemode": "Team Fortress Classic",
"version": "1.1.2.2/Stdio",
"numplayers": 1,
"maxplayers": 29,
"bots": 12,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 38,
"add_date": 1684345235,
"last_update": 1776522634,
"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": 14,
"language": "en",
"parked": false,
"app": {
"id": 35,
"steam_id": 20,
"name": "Team Fortress Classic",
"url": "team-fortress-classic"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/794737");
$data = json_decode($json, true);
var_dump($data);