API für The Igloo
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 27,
"fps_avg": 25,
"entities_count": 475601,
"world_seed": 287423827,
"world_size": 4750,
"steam_id": "90286391876416513",
"domain": null,
"id": 806132,
"ip": "168.100.162.53",
"port": 28415,
"query": 28413,
"color": 0,
"city": "Dallas",
"description": "\nPlease NO EMOTES during cinematics as they do not cooperate well with Replay Mode fuctions. \r\n Usefull F1 Commands: \r\n noclip \r\n teleport playername \r\n god true",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780125812,
"last_online": 1780578036,
"icon": null,
"name": "The Igloo",
"connect": "168.100.162.53:28415",
"request": "168.100.162.53:28413",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1684354330,
"last_update": 1780578036,
"banned": false,
"wipe": 1770316444,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2503,
"language": "en",
"parked": false,
"app": {
"id": 252490,
"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/806132");
$data = json_decode($json, true);
var_dump($data);