Samp
API for exGTA RPG | Since 2008
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/528079json
{
"response": {
"steam_id": null,
"domain": null,
"id": 528079,
"ip": "20.82.141.188",
"port": 7777,
"query": 7777,
"color": 0,
"city": "Dublin",
"description": "",
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1773261136,
"score": null,
"last_online": 1776382331,
"icon": null,
"name": "exGTA RPG | Since 2008",
"connect": "20.82.141.188:7777",
"request": "20.82.141.188:7777",
"map": "Russia",
"gamemode": "exGTA v2.4",
"version": "0.3.7-R2",
"numplayers": 0,
"maxplayers": 499,
"bots": 0,
"secured": null,
"private": false,
"country": "IE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1643533126,
"last_update": 1776382331,
"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": 308,
"language": "en",
"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/528079");
$data = json_decode($json, true);
var_dump($data);