Team Fortress Classic
[FUNTOWN Central] RESURRECTED! >300 maps fastdl voting; no bots için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10888824json
{
"response": {
"steam_id": "90284330324691991",
"domain": null,
"id": 10888824,
"ip": "108.61.119.170",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Elk Grove Village",
"description": null,
"game": 20,
"owner": null,
"boosts": 1,
"last_offline": 1768642742,
"score": 0,
"last_online": 1776523835,
"icon": null,
"name": "[FUNTOWN Central] RESURRECTED! >300 maps fastdl voting; no bots",
"connect": "108.61.119.170:27015",
"request": "108.61.119.170:27015",
"map": "rock2",
"gamemode": "Team Fortress Classic",
"version": "1.1.2.2/Stdio",
"numplayers": 1,
"maxplayers": 21,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 36,
"add_date": 1768322392,
"last_update": 1776523835,
"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": 13,
"language": "en",
"parked": false,
"app": {
"id": 35,
"steam_id": 20,
"name": "Team Fortress Classic",
"url": "team-fortress-classic"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10888824");
$data = json_decode($json, true);
var_dump($data);