Samp
API for GTA LEAGUE t/cw | 4 | gta.ru vk.com/gtaleague
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/527333json
{
"response": {
"steam_id": null,
"domain": null,
"id": 527333,
"ip": "46.39.225.193",
"port": 7780,
"query": 7780,
"color": 0,
"city": "Moscow",
"description": "",
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1776332025,
"score": null,
"last_online": 1776372743,
"icon": null,
"name": "GTA LEAGUE t/cw | 4 | gta.ru vk.com/gtaleague",
"connect": "46.39.225.193:7780",
"request": "46.39.225.193:7780",
"map": "Lobby",
"gamemode": "Romdo A/D v0.0.161",
"version": "0.3.7-R2",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": null,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1643532264,
"last_update": 1776372743,
"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": 322,
"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/527333");
$data = json_decode($json, true);
var_dump($data);