Team Fortress 2
Panda-Community.com US | MGE için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/384594json
{
"response": {
"steam_id": "85568392920498694",
"domain": null,
"id": 384594,
"ip": "193.38.251.8",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Dallas",
"description": "",
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1775194331,
"score": null,
"last_online": 1775948426,
"icon": null,
"name": "Panda-Community.com US | MGE",
"connect": "193.38.251.8:27015",
"request": "193.38.251.8:27015",
"map": "mge_training_v8_beta4b",
"gamemode": "Panda MGE",
"version": "10515055",
"numplayers": 2,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1597718552,
"last_update": 1775948426,
"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": 358,
"language": "en",
"parked": false,
"app": {
"id": 24,
"steam_id": 440,
"name": "Team Fortress 2",
"url": "team-fortress-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/384594");
$data = json_decode($json, true);
var_dump($data);