Counter-Strike
API für Новый Сервер от MyArena.ru
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/7411738json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7411738,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 10,
"owner": 47011,
"boosts": 1,
"last_offline": 1750457066,
"score": 0,
"last_online": 1742979050,
"icon": null,
"name": "Новый Сервер от MyArena.ru",
"connect": null,
"request": null,
"map": "as_oilrig",
"gamemode": "Hosting by Myarena.ru",
"version": null,
"numplayers": 0,
"maxplayers": 15,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1737911784,
"last_update": 1750457066,
"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": 7149,
"language": "ru",
"parked": true,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": {
"username": "Yunkady",
"avatar": "ec404df8-49cd-477b-9f2d-1b43102ecdc4.jpg",
"last_online": 1737911872
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/7411738");
$data = json_decode($json, true);
var_dump($data);