Counter-Strike
API für OldGeneration | Public
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/1033034json
{
"response": {
"steam_id": null,
"domain": null,
"id": 1033034,
"ip": "217.156.22.35",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Berceni",
"description": "Free VIP visit our forum https://leaguecs.ro/forum/forum/9236-classic-oldschool/",
"game": 10,
"owner": 44114,
"boosts": 1,
"last_offline": 1775221930,
"score": 5,
"last_online": 1776167410,
"icon": null,
"name": "OldGeneration | Public",
"connect": "217.156.22.35:27015",
"request": "217.156.22.35:27015",
"map": "de_dust2_2x2",
"gamemode": "[REVIVE ENABLED]",
"version": "1.1.2.7/Stdio",
"numplayers": 16,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RO",
"status": true,
"votes": 0,
"points": 125,
"add_date": 1688589053,
"last_update": 1776167410,
"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": 30,
"language": "ro",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": {
"username": "sensei12",
"avatar": "53ae3159-fee2-415a-a71d-4a0e28545146.jpg",
"last_online": 1709541539
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/1033034");
$data = json_decode($json, true);
var_dump($data);