Samp
API for Avalon Role Play | Black
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/11489298json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11489298,
"ip": "188.127.241.74",
"port": 3291,
"query": 3291,
"color": 0,
"city": "Moscow",
"description": null,
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1776266164,
"score": 0,
"last_online": 1776354084,
"icon": null,
"name": "Avalon Role Play | Black",
"connect": "188.127.241.74:3291",
"request": "188.127.241.74:3291",
"map": "Role Play",
"gamemode": "Avalon | Arizona",
"version": "0.3.7-R2",
"numplayers": 0,
"maxplayers": 1000,
"bots": 0,
"secured": null,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1776266164,
"last_update": 1776354084,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 941,
"language": "ru",
"parked": false,
"app": {
"id": 168,
"steam_id": 9000035,
"name": "Samp",
"url": "samp"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11489298");
$data = json_decode($json, true);
var_dump($data);