Team Fortress 2
PROGAMESZET.RU #JAIL #TEST 2 के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11366761json
{
"response": {
"steam_id": "85568392936089325",
"domain": null,
"id": 11366761,
"ip": "62.122.214.232",
"port": 27018,
"query": 27018,
"color": 0,
"city": "Moscow",
"description": null,
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1776766403,
"score": 0,
"last_online": 1776807056,
"icon": null,
"name": "PROGAMESZET.RU #JAIL #TEST 2",
"connect": "62.122.214.232:27018",
"request": "62.122.214.232:27018",
"map": "ba_hopjb_v8",
"gamemode": "Jailbreak [RU]",
"version": "10515055",
"numplayers": 0,
"maxplayers": 25,
"bots": 6,
"secured": true,
"private": true,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774595310,
"last_update": 1776807056,
"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": 1926,
"language": "ru",
"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/11366761");
$data = json_decode($json, true);
var_dump($data);