Counter-Strike 2
API für FASTCUP.NET
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11182720json
{
"response": {
"steam_id": "90284751051636743",
"domain": null,
"id": 11182720,
"ip": "185.109.31.244",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Almaty",
"description": null,
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1776823348,
"score": 0,
"last_online": 1776800434,
"icon": null,
"name": "FASTCUP.NET",
"connect": "185.109.31.244:27015",
"request": "185.109.31.244:27015",
"map": "de_inferno",
"gamemode": "Counter-Strike 2",
"version": "1.41.5.2",
"numplayers": 10,
"maxplayers": 64,
"bots": 1,
"secured": false,
"private": false,
"country": "KZ",
"status": false,
"votes": 0,
"points": 16,
"add_date": 1772653232,
"last_update": 1776823348,
"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": 11268,
"language": "kk",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11182720");
$data = json_decode($json, true);
var_dump($data);