Rust
API für UKN.GG - US Training Grounds - Medium II
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/6126178json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 2292,
"world_seed": 1337,
"world_size": 6000,
"steam_id": "90284731158210574",
"domain": null,
"id": 6126178,
"ip": "64.40.8.178",
"port": 28014,
"query": 28015,
"color": 0,
"city": "Dallas",
"description": "\nThe best server to train your aim and gameplay!\n\n- FFA\n- Scrims\n- Arenas\n- Gungame \n- Targets\n- Aimbots\n\nUKN Store @ UKN.GG/Store\nUKN Discord @ UKN.GG/Discord",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776675801,
"score": 0,
"last_online": 1776813618,
"icon": null,
"name": "UKN.GG - US Training Grounds - Medium II",
"connect": "64.40.8.178:28014",
"request": "64.40.8.178:28015",
"map": "UKN Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 10,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1727883642,
"last_update": 1776813618,
"banned": false,
"wipe": 1776762215,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1225,
"language": "en",
"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/6126178");
$data = json_decode($json, true);
var_dump($data);