Rust
API für
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10630559json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10630559,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Samara",
"description": null,
"game": 252490,
"owner": 84055,
"boosts": 1,
"last_offline": 1776751362,
"score": 0,
"last_online": 1775829017,
"icon": null,
"name": null,
"connect": null,
"request": null,
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": null,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1763336668,
"last_update": 1776751362,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6997,
"language": "ru",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "Fom23",
"avatar": "70c8a56c-082a-4d46-ad0b-6e2a006f5b73.jpg",
"last_online": 1778488367
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10630559");
$data = json_decode($json, true);
var_dump($data);