Rust
API für Tommygun's Frag | EU | BedWars | Aim Train | Scrim | Gun Game
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10939349json
{
"response": {
"steam_id": "90285443926210590",
"domain": null,
"id": 10939349,
"ip": "168.100.161.242",
"port": 28014,
"query": 28015,
"color": 0,
"city": "London",
"description": "\nFrag Mod is a team-based PvP mode with progression in weapons, armour and vehicles.\r\n\r\nThree teams of 8 fight for control of a destructable city. Earn XP and $ for playing the objective, getting kills, killstreaks, bounties, vehicle kills, and more! Unlock weapons, armour, vehicles, and explosives to crush your enemies in glorious combat! Progression wipes every 4 rounds, or roughly every hour.\r\n\r\n\r\n-AimTrain\r\n-Duels\r\n-Skin Wagering\r\n-Combat Arenas",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777913013,
"score": 0,
"last_online": 1778184023,
"icon": null,
"name": "Tommygun's Frag | EU | BedWars | Aim Train | Scrim | Gun Game",
"connect": "168.100.161.242:28014",
"request": "168.100.161.242:28015",
"map": "Custom Map",
"gamemode": "Rust",
"version": "2623",
"numplayers": 1,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768494588,
"last_update": 1778184023,
"banned": false,
"wipe": 1778134044,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3835,
"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/10939349");
$data = json_decode($json, true);
var_dump($data);