Rust
API for RustyOG Test/Build Server
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/11305585json
{
"response": {
"steam_id": "90285028368205854",
"domain": null,
"id": 11305585,
"ip": "66.51.96.71",
"port": 28025,
"query": 28026,
"color": 0,
"city": "Ashburn",
"description": "\nNOTE: THIS SERVER MAY WIPE WITHOUT NOTICE. IT'S AN ACTIVE TEST SERVER.\r\n\r\nThis is a the test server of the RustyOG community. Feel free to build and explore. PvE mode is enabled. You can use Use F1 to spawn items. \r\n\r\nCommands: /god, /noclip, /outpost, /bandit.\r\nF1 Console: teleport2marker to TP to your placed markers\r\n\r\nVisit us at discord.gg/rustyog.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776748399,
"score": 0,
"last_online": 1777319429,
"icon": null,
"name": "RustyOG Test/Build Server",
"connect": "66.51.96.71:28025",
"request": "66.51.96.71:28026",
"map": "Custom Map",
"gamemode": "Rust",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774592892,
"last_update": 1777319429,
"banned": false,
"wipe": 1776996351,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 1,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5091,
"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/11305585");
$data = json_decode($json, true);
var_dump($data);