Rust
API for Mandarin
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/9745849json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 135806,
"world_seed": 943389,
"world_size": 4500,
"steam_id": "90284748549658639",
"domain": null,
"id": 9745849,
"ip": "43.225.196.106",
"port": 28019,
"query": 28021,
"color": 0,
"city": "Los Angeles",
"description": "\nSurvive and Thrive in Rust, with an Orange Twist.\r\n\r\n- Two Islands: Mandarin (PvE) and Orange (PvP).\r\n- Prize Money Every Wipe!\r\n- Monthly Wipe and Update.\r\n- Random Map, Procedurally Generated.\r\n- Vanilla Gameplay, Quality of Life Mods.\r\nThe Mandarin Island is a place to learn to survive and thrive,\r\nif you're looking for PvP check out Orange.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775188330,
"score": 0,
"last_online": 1776859218,
"icon": null,
"name": "Mandarin",
"connect": "43.225.196.106:28019",
"request": "43.225.196.106:28021",
"map": "Wipe in: 15d 6h",
"gamemode": "Survival",
"version": "2623",
"numplayers": 3,
"maxplayers": 21,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 66,
"add_date": 1752325054,
"last_update": 1776859218,
"banned": false,
"wipe": 1775153030,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 824,
"language": "en",
"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/9745849");
$data = json_decode($json, true);
var_dump($data);