Counter-Strike
API für ► Сладкие убийства 18+
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/2834712json
{
"response": {
"steam_id": null,
"domain": null,
"id": 2834712,
"ip": "45.136.205.116",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1768642971,
"score": null,
"last_online": 1776196857,
"icon": null,
"name": "► Сладкие убийства 18+",
"connect": "45.136.205.116:27015",
"request": "45.136.205.116:27015",
"map": "35hp_2",
"gamemode": "█ VIP FREE 24/7 █",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1707080815,
"last_update": 1776196857,
"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": 5492,
"language": "ru",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/2834712");
$data = json_decode($json, true);
var_dump($data);