Counter-Strike
API für ~ CSGO Jackpot ~ [DOLARY | BITWA | KLANY | OSIAGNIECIA | SKINY | FREE VIP] @ 1s2k.pl
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/25146json
{
"response": {
"steam_id": null,
"domain": null,
"id": 25146,
"ip": "147.135.199.86",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Wroclaw",
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1776047512,
"score": null,
"last_online": 1776208223,
"icon": null,
"name": "~ CSGO Jackpot ~ [DOLARY | BITWA | KLANY | OSIAGNIECIA | SKINY | FREE VIP] @ 1s2k.pl",
"connect": "147.135.199.86:27015",
"request": "147.135.199.86:27015",
"map": "de_dust2",
"gamemode": "CS:GO JP",
"version": "1.1.2.7/Stdio",
"numplayers": 1,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1516162821,
"last_update": 1776208223,
"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": 3894,
"language": "pl",
"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/25146");
$data = json_decode($json, true);
var_dump($data);