Team Fortress 2
Uncletopia | WAW | One Thousand Uncles - Pyro için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/854825json
{
"response": {
"steam_id": "85568392925397852",
"domain": null,
"id": 854825,
"ip": "146.59.52.20",
"port": 27035,
"query": 27035,
"color": 0,
"city": "Warsaw",
"description": "",
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1775337128,
"score": null,
"last_online": 1775950233,
"icon": null,
"name": "Uncletopia | WAW | One Thousand Uncles - Pyro",
"connect": "146.59.52.20:27035",
"request": "146.59.52.20:27035",
"map": "pl_upward",
"gamemode": "Team Fortress",
"version": "10515055",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1684658539,
"last_update": 1775950233,
"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": 620,
"language": "pl",
"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/854825");
$data = json_decode($json, true);
var_dump($data);