Half-Life
API für -=| Crossfire Only |=-
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10655388json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10655388,
"ip": "81.94.155.223",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"4-R_TktNb_\",\"type\":\"paragraph\",\"data\":{\"text\":\"Crossfire Only 24/7\"}}]",
"game": 70,
"owner": 144231,
"boosts": 1,
"last_offline": 1775747523,
"score": 5,
"last_online": 1776775808,
"icon": null,
"name": "-=| Crossfire Only |=-",
"connect": "81.94.155.223:27015",
"request": "81.94.155.223:27015",
"map": "crossfire",
"gamemode": "Half-Life",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 24,
"bots": 5,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 133,
"points": 323,
"add_date": 1764067198,
"last_update": 1776775808,
"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": 1,
"language": "ru",
"parked": false,
"app": {
"id": 9,
"steam_id": 70,
"name": "Half-Life",
"url": "half-life"
},
"server_owner": {
"username": "WHITE_CHANNEL",
"avatar": "fd6812a4-43b5-4289-9127-4bb7eb324621.jpg",
"last_online": 1776771040
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10655388");
$data = json_decode($json, true);
var_dump($data);