Counter-Strike
API für - rayish.com 5 - KZ/BHop
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/1753107json
{
"response": {
"steam_id": "90284697153191946",
"domain": "kzbhop.rayish.com",
"id": 1753107,
"ip": "46.59.68.95",
"port": 27019,
"query": 27019,
"color": 0,
"city": "Stockholm",
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1771254700,
"score": null,
"last_online": 1776821475,
"icon": null,
"name": "- rayish.com 5 - KZ/BHop",
"connect": "kzbhop.rayish.com:27019",
"request": "46.59.68.95:27019",
"map": "dyd_hb_throttle_ez",
"gamemode": "KZ",
"version": "1.1.2.7",
"numplayers": 0,
"maxplayers": 12,
"bots": 0,
"secured": true,
"private": false,
"country": "SE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1699449620,
"last_update": 1776821475,
"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": 5096,
"language": "sv",
"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/1753107");
$data = json_decode($json, true);
var_dump($data);