Rust
API for
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/96805json
{
"response": {
"steam_id": null,
"domain": null,
"id": 96805,
"ip": "95.154.95.23",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Vladivostok",
"description": "![[RU] RCVL_25Rus PVE/PVP Four](http://rcvl.ru/rimg/rcvl_rust_logo.png)\nModded server rcvl Rust 25rus\r\nPVE/PVP Four\r\n\r\n+ Стаки\r\n+ ТП(tpr,home)\r\n+ Киты(kit)\r\n+ Личка(pm)\r\n+ Лавка(s)\r\n ...\r\n\r\n ...\r\n\r\nВКонтакт: vk.com/rcvl_rust",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776279713,
"score": null,
"last_online": 1776279016,
"icon": null,
"name": null,
"connect": null,
"request": "95.154.95.23:28017",
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 51,
"bots": 0,
"secured": null,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 60,
"add_date": 1521536735,
"last_update": 1776279713,
"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": 2861,
"language": "ru",
"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/96805");
$data = json_decode($json, true);
var_dump($data);