Samp
API for Keriev RolePlay [Alpha] [0.3.7 R2]
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/11172889json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11172889,
"ip": "51.79.57.239",
"port": 7777,
"query": 7777,
"color": 0,
"city": "Beauharnois",
"description": null,
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1776295313,
"score": 0,
"last_online": 1776360049,
"icon": null,
"name": "Keriev RolePlay [Alpha] [0.3.7 R2]",
"connect": "51.79.57.239:7777",
"request": "51.79.57.239:7777",
"map": "San Andreas",
"gamemode": "K:RP-RP",
"version": "0.3.7-R2",
"numplayers": 5,
"maxplayers": 494,
"bots": 0,
"secured": null,
"private": true,
"country": "CA",
"status": true,
"votes": 0,
"points": 31,
"add_date": 1772229123,
"last_update": 1776360049,
"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": 259,
"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/11172889");
$data = json_decode($json, true);
var_dump($data);