Counter-Strike
API für CS 1.6 CW1
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/463884json
{
"response": {
"steam_id": null,
"domain": null,
"id": 463884,
"ip": "45.155.207.140",
"port": 27016,
"query": 27016,
"color": 0,
"city": "Yaksatovo",
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1774645947,
"score": null,
"last_online": 1776193224,
"icon": null,
"name": "CS 1.6 CW1",
"connect": "45.155.207.140:27016",
"request": "45.155.207.140:27016",
"map": "de_dust2_2x2",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 1,
"maxplayers": 18,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 34,
"add_date": 1630825023,
"last_update": 1776193224,
"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": 3650,
"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/463884");
$data = json_decode($json, true);
var_dump($data);