Rust
API for
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/11159556json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11159556,
"ip": "38.76.200.233",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Hong Kong",
"description": "原倍|无权限|无商城\r\n纯净服,休闲娱乐,回归游戏本质\r\n每日北京时间凌晨3:00-3:15重启服务器\r\nOriginal Server | No Access | No Mall\r\nPure Server, Leisure and Entertainment, Return to the Essence of Gaming\r\nServer Restarts Daily at 3:00-3:15 AM Beijing Time",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776871956,
"score": 0,
"last_online": 1776274217,
"icon": null,
"name": null,
"connect": null,
"request": "38.76.200.233:28017",
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": false,
"country": "HK",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1772228133,
"last_update": 1776871956,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 8786,
"language": "zh",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11159556");
$data = json_decode($json, true);
var_dump($data);