Killing Floor
SimHost Classic 2 için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/391128json
{
"response": {
"steam_id": "90283783226054677",
"domain": null,
"id": 391128,
"ip": "185.97.254.214",
"port": 7807,
"query": 28952,
"color": 0,
"city": "St Petersburg",
"description": "",
"game": 1250,
"owner": null,
"boosts": 1,
"last_offline": 1773545568,
"score": null,
"last_online": 1776421330,
"icon": null,
"name": "SimHost Classic 2",
"connect": "185.97.254.214:7807",
"request": "185.97.254.214:28952",
"map": "KF-MushroomValley",
"gamemode": "Killing Floor",
"version": "1.0.6.5",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1597962189,
"last_update": 1776421330,
"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": 34,
"language": "ru",
"parked": false,
"app": {
"id": 50,
"steam_id": 1250,
"name": "Killing Floor",
"url": "killing-floor"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/391128");
$data = json_decode($json, true);
var_dump($data);