Black Mesa
NINE-ONE için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11489352json
{
"response": {
"steam_id": "90284525699347474",
"domain": null,
"id": 11489352,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Chaowai",
"description": null,
"game": 362890,
"owner": null,
"boosts": 1,
"last_offline": 1776463349,
"score": 0,
"last_online": 1776438167,
"icon": null,
"name": "NINE-ONE",
"connect": null,
"request": null,
"map": "bm_c0a0a",
"gamemode": "Black Mesa",
"version": "100002",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": true,
"country": "CN",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1776340387,
"last_update": 1776463349,
"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": 42,
"language": "zh",
"parked": true,
"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/11489352");
$data = json_decode($json, true);
var_dump($data);