Rust
API for
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/11261231json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11261231,
"ip": "156.38.153.242",
"port": 10100,
"query": 10110,
"color": 0,
"city": "Pretoria",
"description": "\n5 x Gathering Rates and 10 x Stack Sizes\r\nReworked Loot - Scap is not a Issue\r\nSkins and Fast Crafting\r\nFaster Recycler at a output cost.\r\nFurnace Splitter with faster Smelt Rates\r\nBuy Vehicles with Scrap\r\nSmall Backpacks for those heavy loads\r\nWe dont want you to grind all day, But enjoy the Game\r\nServer is well balanced, ALL Junk removed\r\nAdmin does not play, Only testing when editing",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776877359,
"score": 0,
"last_online": 1776277216,
"icon": null,
"name": null,
"connect": null,
"request": "156.38.153.242:10110",
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": null,
"private": false,
"country": "ZA",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774555228,
"last_update": 1776877359,
"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": 9168,
"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/11261231");
$data = json_decode($json, true);
var_dump($data);