Rust
API für Vanilla++ CobaltRust.GG Solo/Duo/Trio
Wir bieten eine breite Auswahl an Integrationsmethoden. Sie können eine davon verwenden oder Ihre eigene mit der JSON-API erstellen. Wenn Sie einen Vorschlag für eine neue Integrationsmethode haben, kontaktieren Sie uns bitte. Kontaktieren Sie uns
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11131268json
{
"response": {
"fps": 29,
"fps_avg": 29,
"entities_count": 157453,
"world_seed": 820205449,
"world_size": 4250,
"steam_id": "90284221303850014",
"domain": null,
"id": 11131268,
"ip": "168.100.162.146",
"port": 28015,
"query": 28013,
"color": 0,
"city": "Dallas",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775724125,
"score": 0,
"last_online": 1775907037,
"icon": null,
"name": "Vanilla++ CobaltRust.GG Solo/Duo/Trio",
"connect": "168.100.162.146:28015",
"request": "168.100.162.146:28013",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1770397350,
"last_update": 1775907037,
"banned": false,
"wipe": 1775154713,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 7410,
"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/11131268");
$data = json_decode($json, true);
var_dump($data);