Team Fortress 2
Source.Fjox.win/MGE için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11366703json
{
"response": {
"steam_id": "85568392931819423",
"domain": null,
"id": 11366703,
"ip": "91.2.122.237",
"port": 27019,
"query": 27019,
"color": 0,
"city": "Hamburg",
"description": null,
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1775243532,
"score": 0,
"last_online": 1776808275,
"icon": null,
"name": "Source.Fjox.win/MGE",
"connect": "91.2.122.237:27019",
"request": "91.2.122.237:27019",
"map": "mge_training_v8_beta4b",
"gamemode": "Team Fortress",
"version": "10515055",
"numplayers": 0,
"maxplayers": 81,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774595286,
"last_update": 1776808275,
"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": 1915,
"language": "de",
"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/11366703");
$data = json_decode($json, true);
var_dump($data);