Team Fortress 2
old TF2SA MGE के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/5310689json
{
"response": {
"steam_id": 90284218510188560,
"domain": null,
"id": 5310689,
"ip": "129.151.190.39",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Johannesburg",
"description": null,
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1775897515,
"score": 0,
"last_online": 1775965227,
"icon": null,
"name": "old TF2SA MGE",
"connect": "129.151.190.39:27015",
"request": "129.151.190.39:27015",
"map": "mge_chillypunch_final4_fix2",
"gamemode": "Team Fortress",
"version": "10515055",
"numplayers": 0,
"maxplayers": 18,
"bots": 0,
"secured": true,
"private": true,
"country": "ZA",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1721904582,
"last_update": 1775965227,
"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": 1012,
"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.in/servers/5310689");
$data = json_decode($json, true);
var_dump($data);