Killing Floor 2
KoopKraftwerk.DE #3 Public Vanilla Suicidal için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/908527json
{
"response": {
"steam_id": "90283887635487753",
"domain": null,
"id": 908527,
"ip": "94.16.109.88",
"port": 7783,
"query": 27021,
"color": 0,
"city": "Nuremberg",
"description": "",
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1768641970,
"score": null,
"last_online": 1777242732,
"icon": null,
"name": "KoopKraftwerk.DE #3 Public Vanilla Suicidal",
"connect": "94.16.109.88:7783",
"request": "94.16.109.88:27021",
"map": "KF-SHOPPINGSPREE",
"gamemode": "Killing Floor 2",
"version": "1150",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1684750256,
"last_update": 1777242732,
"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": 136,
"language": "de",
"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/908527");
$data = json_decode($json, true);
var_dump($data);