Team Fortress Classic
BoB the Server - Low Gravity -AWS- beta:0 के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/10481337json
{
"response": {
"steam_id": "90284610494394393",
"domain": null,
"id": 10481337,
"ip": "204.57.31.10",
"port": 27021,
"query": 27021,
"color": 0,
"city": "Littleton",
"description": null,
"game": 20,
"owner": null,
"boosts": 1,
"last_offline": 1776509607,
"score": 0,
"last_online": 1776524473,
"icon": null,
"name": "BoB the Server - Low Gravity -AWS- beta:0",
"connect": "204.57.31.10:27021",
"request": "204.57.31.10:27021",
"map": "crossover2",
"gamemode": "hltv",
"version": "1.1.2.6",
"numplayers": 0,
"maxplayers": 5,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1760514639,
"last_update": 1776524473,
"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": 79,
"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/10481337");
$data = json_decode($json, true);
var_dump($data);