Team Fortress 2
EU - TF2-holics! no bots, no badlands, just chill. dont run, wa için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/855747json
{
"response": {
"steam_id": "85568392931276817",
"domain": null,
"id": 855747,
"ip": "159.69.69.107",
"port": 27016,
"query": 27016,
"color": 0,
"city": "Falkenstein",
"description": "",
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1775866324,
"score": null,
"last_online": 1775977259,
"icon": null,
"name": "EU - TF2-holics! no bots, no badlands, just chill. dont run, wa",
"connect": "159.69.69.107:27016",
"request": "159.69.69.107:27016",
"map": "tr_walkway_rc2",
"gamemode": "Team Fortress",
"version": "9742990",
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1684658972,
"last_update": 1775977259,
"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": 663,
"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/855747");
$data = json_decode($json, true);
var_dump($data);