Black Mesa
API pentru Black Mesa COOP
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10757375json
{
"response": {
"steam_id": "90277998744980496",
"domain": null,
"id": 10757375,
"ip": "184.54.48.10",
"port": 27018,
"query": 27018,
"color": 0,
"city": "Richmond",
"description": null,
"game": 362890,
"owner": null,
"boosts": 1,
"last_offline": 1773961920,
"score": 0,
"last_online": 1776302428,
"icon": null,
"name": "Black Mesa COOP",
"connect": "184.54.48.10:27018",
"request": "184.54.48.10:27018",
"map": "bm_c1a0b",
"gamemode": "Black Mesa",
"version": "100002",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766255101,
"last_update": 1776302428,
"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": 21,
"language": "en",
"parked": false,
"app": {
"id": 4,
"steam_id": 362890,
"name": "Black Mesa",
"url": "black-mesa"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10757375");
$data = json_decode($json, true);
var_dump($data);