Rust
API for TMR Testing
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/3592074json
{
"response": {
"fps": 83,
"fps_avg": 97,
"entities_count": 74720,
"world_seed": 260402,
"world_size": 3700,
"steam_id": "90284792505297934",
"domain": null,
"id": 3592074,
"ip": "102.211.186.108",
"port": 10010,
"query": 10020,
"color": 0,
"city": "Johannesburg",
"description": "\nThis server has kits, backpacks, NPCs and a few other things. Resource gather rates are about 5x, stack sizes are 25x.\r\nCurrently it's quite low-pop, so feel free to come and explore.\r\n\r\nSome basic rules:\r\n1) Don't be a jerk.\r\n2) No blasphemy, profanity, etc.\r\n3) No racial slurs or the like.\r\n4) Don't run around naked. If necessary, there can be kits to give free clothing.\r\n5) Do not fence off monuments such as the Mining Quarries. They are for everyone, not just you.\r\n6) Do not put auto-turrets on bases near the spawning beaches. It's not fair to new players.\r\n7) Have fun, and don't spoil other players' fun.\r\n\r\nWipe is once a month.\r\nDiscord channel: https://discord.gg/HBt8wwKDgQ",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776823397,
"score": null,
"last_online": 1776871824,
"icon": null,
"name": "TMR Testing",
"connect": "102.211.186.108:10010",
"request": "102.211.186.108:10020",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "ZA",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1711395250,
"last_update": 1776871824,
"banned": false,
"wipe": 1775153665,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3087,
"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/3592074");
$data = json_decode($json, true);
var_dump($data);