Black Mesa
Friendly Crowbar [Coop] için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/1469410json
{
"response": {
"steam_id": "85568392925005047",
"domain": null,
"id": 1469410,
"ip": "188.165.220.114",
"port": 27019,
"query": 27019,
"color": 0,
"city": "Roubaix",
"description": "",
"game": 362890,
"owner": null,
"boosts": 1,
"last_offline": 1773545564,
"score": 5,
"last_online": 1776523321,
"icon": null,
"name": "Friendly Crowbar [Coop]",
"connect": "188.165.220.114:27019",
"request": "188.165.220.114:27019",
"map": "bm_c3a2b",
"gamemode": "Bms SXPM 1.5",
"version": "100002",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1697313752,
"last_update": 1776523321,
"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": 7,
"language": "fr",
"parked": false,
"app": {
"id": 4,
"steam_id": 362890,
"name": "Black Mesa",
"url": "black-mesa"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/1469410");
$data = json_decode($json, true);
var_dump($data);