API für gptest1234
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 29,
"fps_avg": 30,
"entities_count": 140523,
"world_seed": 50002,
"world_size": 5000,
"steam_id": "90286611617000464",
"domain": null,
"id": 755297,
"ip": "176.57.171.141",
"port": 28615,
"query": 28616,
"color": 0,
"city": "Frankfurt am Main",
"description": "![[GER] Feierabendserver Joschkel](https://www.g-portal.com/css/customer/img/logo.jpg)\nWelcome to our Gameserver \r\nMods\r\nBackpacks\r\nerhöhte Stacks\r\nautomatische Events\r\nStarter Kit\r\n hosted by G-Portal.com",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780611255,
"last_online": 1780629628,
"icon": null,
"name": "gptest1234",
"connect": "176.57.171.141:28615",
"request": "176.57.171.141:28616",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1677863469,
"last_update": 1780629628,
"banned": false,
"wipe": 1780596598,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2464,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/755297");
$data = json_decode($json, true);
var_dump($data);