Counter-Strike
API für ПУШКИ + ЛАЗЕРЫ #10 ® FRAGLIMIT.RU
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/207405json
{
"response": {
"steam_id": null,
"domain": null,
"id": 207405,
"ip": "95.31.21.158",
"port": 27035,
"query": 27035,
"color": 0,
"city": "Moscow",
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1775668326,
"score": null,
"last_online": 1776168611,
"icon": null,
"name": "ПУШКИ + ЛАЗЕРЫ #10 ® FRAGLIMIT.RU",
"connect": "95.31.21.158:27035",
"request": "95.31.21.158:27035",
"map": "de_assault",
"gamemode": "FRAGLIMIT.RU",
"version": "1.1.2.7/Stdio",
"numplayers": 30,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 96,
"add_date": 1582845167,
"last_update": 1776168611,
"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": 1597,
"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/207405");
$data = json_decode($json, true);
var_dump($data);