API für Flub's server - Campaign
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90286526449788956",
"domain": null,
"id": 11724648,
"ip": "88.162.252.119",
"port": 7777,
"query": 27015,
"project_id": null,
"color": 0,
"city": "Puygouzon",
"description": null,
"game": 872670,
"owner": null,
"boosts": 1,
"last_offline": 1780677806,
"last_online": 1780432815,
"icon": null,
"name": "Flub's server - Campaign",
"connect": "88.162.252.119:7777",
"request": "88.162.252.119:27015",
"map": "M_Antarctica",
"gamemode": "Campaign",
"version": "0.4.1.0",
"numplayers": 0,
"maxplayers": 5,
"bots": 0,
"secured": false,
"private": false,
"country": "FR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780325451,
"last_update": 1780677806,
"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": 65,
"language": "fr",
"parked": false,
"app": {
"id": 51883,
"steam_id": 872670,
"name": "SCP: 5K (Alpha Testing)",
"url": "scp-5k-alpha-testing"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11724648");
$data = json_decode($json, true);
var_dump($data);