Killing Floor 2
NA CD, fanta's rules, CW, NoVA için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/1094139json
{
"response": {
"steam_id": "90284942081947669",
"domain": null,
"id": 1094139,
"ip": "5.161.149.88",
"port": 27817,
"query": 47055,
"color": 0,
"city": "Ashburn",
"description": "",
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1775182932,
"score": null,
"last_online": 1777249258,
"icon": null,
"name": "NA CD, fanta's rules, CW, NoVA",
"connect": "5.161.149.88:27817",
"request": "5.161.149.88:47055",
"map": "KF-DesolationOriginal",
"gamemode": "Killing Floor 2",
"version": "1150",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1688782875,
"last_update": 1777249258,
"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": 143,
"language": "en",
"parked": false,
"app": {
"id": 51,
"steam_id": 232090,
"name": "Killing Floor 2",
"url": "killing-floor-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/1094139");
$data = json_decode($json, true);
var_dump($data);