API für ✨CosmicRP DXRP Server - www.cosmic-networks.com
JSON für Programme, Websites und mehr
text
json
{
"response": {
"revision": "240635",
"protocol": 1101,
"gameident": "dxura.rp",
"hidden": false,
"api": 25,
"steam_id": "90285927329109014",
"domain": null,
"id": 11492583,
"ip": "71.236.198.248",
"port": 27015,
"query": 27016,
"color": 0,
"city": "Corvallis",
"description": null,
"game": 590830,
"owner": 195330,
"boosts": 1,
"last_offline": 1780584208,
"last_online": 1779738622,
"icon": null,
"name": "✨CosmicRP DXRP Server - www.cosmic-networks.com",
"connect": "71.236.198.248:27015",
"request": "71.236.198.248:27016",
"map": "thieves.rpdowntown3t",
"gamemode": "DXRP",
"version": "26.05.13a",
"numplayers": 0,
"maxplayers": 128,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 2,
"points": 2,
"add_date": 1779035582,
"last_update": 1780584208,
"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": 59,
"language": "en",
"parked": false,
"app": {
"id": 1646716,
"steam_id": 590830,
"name": "s&box",
"url": "sbox"
},
"server_owner": {
"username": "drewsamson",
"avatar": "no.jpg"
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11492583");
$data = json_decode($json, true);
var_dump($data);