Rust
API for
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/11222796json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11222796,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Valdivia",
"description": "\nWelcome To UMBRA RUST\r\nCheating is not allowed dont use cheats or macros or scripts, thanks\r\nServer Made With Love\r\n gm.link/u173584",
"game": 252490,
"owner": 173584,
"boosts": 1,
"last_offline": 1776318674,
"score": 0,
"last_online": 1775440812,
"icon": null,
"name": null,
"connect": null,
"request": null,
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": null,
"private": false,
"country": "CL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1773151954,
"last_update": 1776318674,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": true,
"position_game": 8923,
"language": "es",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "mystic",
"avatar": "508b0355-81b4-4fcd-951f-010b5f3657f0.png",
"last_online": 1773247786
},
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11222796");
$data = json_decode($json, true);
var_dump($data);